Files
chmod777/ci/Jenkinsfile
Dustin C. Hatch 47c6d1e61d
Some checks failed
dustin/chmod777/pipeline/head There was a failure building this commit
ci: Begin Jenkins pipeline
This is a very simple pipeline that consists of 3 steps:

1. Download the Hugo binary from Github (if necessary)
2. Run `hugo`
3. Publish the generated site with `rsync`
2020-03-03 19:56:16 -06:00

34 lines
531 B
Groovy

pipeline {
agent any
options {
disableConcurrentBuilds()
}
triggers {
pollSCM ''
}
stages {
stage('Prepare') {
steps {
sh '. ci/prepare.sh'
}
}
stage('Build') {
steps {
sh '. ci/build.sh'
}
}
stage('Publish') {
steps {
sshagent(['jenkins-web']) {
sh '. ci/publish.sh'
}
}
}
}
}