Browse Source

update 更新默认 windows

dev
lucas 2 weeks ago
parent
commit
4d88a20c07
  1. 2
      build/jenkinsfile

2
build/jenkinsfile

@ -12,7 +12,7 @@ podTemplate {
sh'''
go env -w GOPROXY=https://goproxy.cn,direct
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/
'''
}

Loading…
Cancel
Save