From 4863ff83ba02b5bd491f1aabac836b7266d4517e Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Wed, 29 Jan 2020 14:02:50 +0100 Subject: [PATCH] Old code removed: Docker port, Jenkins config --- Jenkinsfile | 23 +++++++++-------------- debian/changelog | 2 +- docker-compose.yml | 2 +- package.json | 2 +- 4 files changed, 12 insertions(+), 17 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 211c88d5..04fa7a08 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,11 +8,15 @@ pipeline { stages { stage('Checkout') { steps { - configFileProvider([ - configFile(fileId: "${PROJECT_NAME}.groovy", - variable: 'GROOVY_FILE') - ]) { - load env.GROOVY_FILE + 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' @@ -60,15 +64,6 @@ pipeline { post { always { 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; - } - if (!env.COMMITTER_EMAIL) return try { mail( diff --git a/debian/changelog b/debian/changelog index 00c7ffa6..54dabe1b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.407.07) stable; urgency=low +hedera-web (1.407.08) stable; urgency=low * Initial Release. diff --git a/docker-compose.yml b/docker-compose.yml index b883b615..f147b366 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ services: context: . dockerfile: Dockerfile ports: - - ${PORT:?}:80 + - 80 configs: - source: config target: /etc/hedera-web/config.my.php diff --git a/package.json b/package.json index 26729ba8..da83fcc9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.407.07", + "version": "1.407.08", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": {