Jenkins uses common utils
gitea/vn-autoconfig/master There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2020-01-30 16:07:40 +01:00
parent 3a9f4162c9
commit 08e6af344a
2 changed files with 2 additions and 22 deletions

22
Jenkinsfile vendored
View File

@ -8,17 +8,6 @@ pipeline {
stages {
stage('Checkout') {
steps {
script {
if (!env.GIT_COMMITTER_EMAIL) {
env.COMMITTER_EMAIL = sh(
script: 'git --no-pager show -s --format="%ae"',
returnStdout: true
).trim()
} else {
env.COMMITTER_EMAIL = env.GIT_COMMITTER_EMAIL;
}
}
sh 'printenv'
}
}
@ -47,16 +36,7 @@ pipeline {
post {
always {
script {
if (!env.COMMITTER_EMAIL) return
try {
mail(
to: env.COMMITTER_EMAIL,
subject: "Pipeline: ${env.JOB_NAME} (${env.BUILD_NUMBER}): ${currentBuild.currentResult}",
body: "Check status at ${env.BUILD_URL}"
)
} catch (e) {
echo e.toString()
}
util.sendEmail()
}
}
}

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
vn-autoconfig (1.0.1) stable; urgency=low
vn-autoconfig (1.0.2) stable; urgency=low
* Initial Release.