|
@ -12,7 +12,7 @@ podTemplate { |
|
|
sh''' |
|
|
sh''' |
|
|
go env -w GOPROXY=https://goproxy.cn,direct |
|
|
go env -w GOPROXY=https://goproxy.cn,direct |
|
|
go env -w GO111MODULE=on |
|
|
go env -w GO111MODULE=on |
|
|
CGO_ENABLED=0 go build -ldflags "-extldflags -static " -a -v -o app.exe main.go |
|
|
CGO_ENABLED=0 GOOS=windows go build -ldflags "-extldflags -static " -a -v -o app.exe main.go |
|
|
tar -cvf out.tar *.exe configFiles/ |
|
|
tar -cvf out.tar *.exe configFiles/ |
|
|
''' |
|
|
''' |
|
|
} |
|
|
} |
|
|