sarsooxyz.hugo/.jenkins/jenkinsfile

22 lines
451 B
Plaintext
Raw Normal View History

2023-05-01 20:48:22 +01:00
pipeline {
agent any
stages {
stage('Deploy') {
when { branch 'master' }
steps {
script {
docker.withRegistry('https://git.sarsoo.xyz', 'git-registry-creds') {
docker.build("sarsoo/sarsooxyz.hugo:latest").push()
}
}
}
}
}
post {
always {
cleanWs()
}
}
}