You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cacert-boardvoting/Jenkinsfile

30 lines
717 B
Plaintext

#!groovy
pipeline {
agent any
environment {
GOPATH = "${pwd(tmp: true)}/gocode"
PATH = "${GOPATH}/bin:${PATH}"
}
stages {
stage('Install go-bindata') {
steps {
5 years ago
sh "mkdir -p '${GOPATH}/bin'"
sh "cd '${GOPATH}/bin'"
sh "go get -u -v github.com/shuLhan/go-bindata/cmd/go-bindata"
}
}
stage('Build') {
steps {
sh "make distclean && make BUILD='${env.BUILD_TAG}'"
}
}
stage('Create build output') {
steps {
archiveArtifacts artifacts: 'cacert-boardvoting,config.yaml.example'
}
}
}
}