Skip to content

Commit

Permalink
Back to "golang" container in Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pavius authored Mar 5, 2019
1 parent ac82a0c commit 64bd019
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ podTemplate(label: "${git_project}-${label}", inheritFrom: "jnlp-docker-golang")
}

stage('get dependencies') {
container('golang:1.12') {
container('golang') {
dir("${github.BUILD_FOLDER}/src/github.com/v3io/${git_project}") {
common.shellc("make get-dependencies")
}
Expand All @@ -37,21 +37,21 @@ podTemplate(label: "${git_project}-${label}", inheritFrom: "jnlp-docker-golang")

parallel(
'build linux binaries': {
container('golang:1.12') {
container('golang') {
dir("${github.BUILD_FOLDER}/src/github.com/v3io/${git_project}") {
common.shellc("V3CTL_TAG=${github.TAG_VERSION} GOARCH=amd64 GOOS=linux make v3ctl-bin")
}
}
},
'build darwin binaries': {
container('golang:1.12') {
container('golang') {
dir("${github.BUILD_FOLDER}/src/github.com/v3io/${git_project}") {
common.shellc("V3CTL_TAG=${github.TAG_VERSION} GOARCH=amd64 GOOS=darwin make v3ctl-bin")
}
}
},
'build windows binaries': {
container('golang:1.12') {
container('golang') {
dir("${github.BUILD_FOLDER}/src/github.com/v3io/${git_project}") {
common.shellc("V3CTL_TAG=${github.TAG_VERSION} GOARCH=amd64 GOOS=windows make v3ctl-bin")
}
Expand Down

0 comments on commit 64bd019

Please sign in to comment.