|
|
@ -8,14 +8,16 @@ pipeline {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stages {
|
|
|
|
stage('Remove old build directory') {
|
|
|
|
stage('Install go-bindata') {
|
|
|
|
steps {
|
|
|
|
steps {
|
|
|
|
sh "rm -rf '${GOPATH}/src/git.cacert.org'"
|
|
|
|
sh "mkdir -p '${GOPATH}/bin'
|
|
|
|
|
|
|
|
sh "cd '${GOPATH}/bin'"
|
|
|
|
|
|
|
|
sh "go get -u -v github.com/shuLhan/go-bindata/cmd/go-bindata"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build') {
|
|
|
|
stage('Build') {
|
|
|
|
steps {
|
|
|
|
steps {
|
|
|
|
sh "make clean && make BUILD='${env.BUILD_TAG}'"
|
|
|
|
sh "make distclean && make BUILD='${env.BUILD_TAG}'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Create build output') {
|
|
|
|
stage('Create build output') {
|
|
|
|