Add direct call to dep
This commit is contained in:
parent
91e6d9ad29
commit
c62801fcb7
1 changed files with 1 additions and 2 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -4,7 +4,6 @@ pipeline {
|
|||
|
||||
environment {
|
||||
GOPATH = "${pwd()}/gocode"
|
||||
PATH = "${pwd()}/gocode/bin:${env.PATH}"
|
||||
}
|
||||
|
||||
stages {
|
||||
|
@ -13,7 +12,7 @@ pipeline {
|
|||
sh "rm -rf '${GOPATH}/src/git.cacert.org' ; mkdir -p '${GOPATH}/src/git.cacert.org'"
|
||||
sh "ln -s '${pwd()}' '${GOPATH}/src/git.cacert.org/cacert-boardvoting'"
|
||||
sh "go get -u github.com/golang/dep/cmd/dep"
|
||||
sh "cd '${GOPATH}/src/git.cacert.org/cacert-boardvoting' ; dep ensure -v"
|
||||
sh "cd '${GOPATH}/src/git.cacert.org/cacert-boardvoting' ; ${GOPATH}/bin/dep ensure -v"
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
|
|
Loading…
Reference in a new issue