publik-devinst/Jenkinsfile

25 lines
520 B
Groovy

@Library('eo-jenkins-lib@main') import eo.Utils
pipeline {
agent any
options { disableConcurrentBuilds() }
stages {
stage('Unit Tests') {
steps {
sh 'sudo ./test-nspawn buster'
}
}
}
post {
always {
script {
utils = new Utils()
utils.mail_notify(currentBuild, env, 'ci+jenkins-publik-devinst@entrouvert.org')
}
}
success {
cleanWs()
}
}
}