From 52e295a393c97eb562d8aa9d5995787300c8505d Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Fri, 30 Apr 2021 00:20:36 +0200 Subject: [PATCH] Jenkins fixes --- Jenkinsfile | 26 ++------------------------ debian/changelog | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 26 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5615e582..bb80c3de 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,18 +8,7 @@ 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' + setEnv() } } stage('Package') { @@ -66,18 +55,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() - } - } + sendEmail() } } } \ No newline at end of file diff --git a/debian/changelog b/debian/changelog index 83583f02..a8fb6bc5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.407.51) stable; urgency=low +hedera-web (1.407.52) stable; urgency=low * Initial Release. diff --git a/package.json b/package.json index dfb71a18..95db74f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.407.51", + "version": "1.407.52", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": {