Use dep in Jenkinsfile

debian
Jan Dittberner 7 years ago
parent bf511ae4db
commit 58aed9abd1

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…
Cancel
Save