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

28 lines
615 B
Plaintext

#!groovy
pipeline {
agent any
environment {
GOPATH = "${pwd(tmp: true)}/gocode"
PATH = "${GOPATH}/bin:${PATH}"
}
stages {
stage('Remove old build directory') {
steps {
sh "rm -rf '${GOPATH}/src/git.cacert.org'"
}
}
stage('Build') {
steps {
sh "make clean && make BUILD='${env.BUILD_TAG}'"
}
}
stage('Create build output') {
steps {
archiveArtifacts artifacts: 'cacert-boardvoting,config.yaml.example'
}
}
}
}