sarsooxyz.hugo/.jenkins/jenkinsfile

22 lines
456 B
Plaintext

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