Use dep in Jenkinsfile
This commit is contained in:
parent
bf511ae4db
commit
58aed9abd1
1 changed files with 2 additions and 1 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -11,7 +11,8 @@ pipeline {
|
|||
steps {
|
||||
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 "cd '${GOPATH}/src/git.cacert.org/cacert-boardvoting' ; go get"
|
||||
sh "go get -u github.com/golang/dep/cmd/dep"
|
||||
sh "cd '${GOPATH}/src/git.cacert.org/cacert-boardvoting' ; dep ensure -v"
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
|
|
Loading…
Reference in a new issue