split build agent for ansible
Some checks failed
dreamfall/morgan.mcmillian.dev/pipeline/head There was a failure building this commit

This commit is contained in:
Morgan McMillian 2023-02-09 17:47:50 -08:00
parent fbee2cfb8c
commit 14ec3d4f87

14
Jenkinsfile vendored
View file

@ -1,12 +1,13 @@
pipeline {
agent {
docker {
image 'git.dreamfall.space/thrrgilag/kiln:latest'
label 'docker-build'
}
}
agent none
stages {
stage('Build site') {
agent {
docker {
image 'git.dreamfall.space/thrrgilag/kiln:latest'
label 'docker-build'
}
}
steps {
mattermostSend "Site build started - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
sh 'kiln build'
@ -21,6 +22,7 @@ pipeline {
}
}
stage('Deploy site') {
agent { label 'docker-build' }
steps {
mattermostSend "Site deploy started - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
ansiblePlaybook(