add Jenkinsfile

This commit is contained in:
Christophe Siraut 2020-03-09 14:34:32 +01:00
parent 543c6ab86b
commit 2253e1527b
2 changed files with 28 additions and 0 deletions

27
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,27 @@
@Library('eo-jenkins-lib@master') import eo.Utils
pipeline {
agent any
stages {
stage('Packaging') {
steps {
script {
if (env.JOB_NAME == 'dspawn' && env.GIT_BRANCH == 'origin/master') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch,buster dspawn'
}
}
}
}
}
post {
always {
script {
utils = new Utils()
utils.mail_notify(currentBuild, env, 'admin+dspawn@entrouvert.com')
}
}
success {
cleanWs()
}
}
}

1
debian/changelog vendored
View File

@ -1,6 +1,7 @@
dspawn (0.13) unstable; urgency=medium
* renew machine-id when cloning machines
* add Jenkinsfile
-- Christophe Siraut <csiraut@entrouvert.com> Mon, 09 Mar 2020 14:18:56 +0100