dustin.web/ci/Jenkinsfile

37 lines
561 B
Groovy

// vim: set ft=groovy sw=4 ts=4 sts=4 et :
pipeline {
agent {
dockerfile {
dir 'ci'
filename 'Containerfile'
}
}
options {
disableConcurrentBuilds()
}
triggers {
pollSCM ''
}
stages {
stage('Build') {
steps {
sh '. ci/build.sh'
}
}
stage('Publish') {
steps {
sshagent(['jenkins-web']) {
sh '. ci/publish.sh'
}
}
}
}
}