From 3059b212bf626202f6eac0bebd31fa3d52df45ef Mon Sep 17 00:00:00 2001 From: Jan Thijs <92784122+janthijs@users.noreply.github.com> Date: Tue, 3 Oct 2023 14:34:41 +0200 Subject: [PATCH] try this --- Jenkinsfile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4dbe22f36e..2ccad1234a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,9 +29,6 @@ pipeline { REACT_APP_SENTRY_DSN = "https://d9bff634090c4624bce9ba7d8f0875dd@sentry-new.data.amsterdam.nl/13" REACT_APP_ANALYTICS_ID_ACC = "e63312c0-0efe-4c4f-bba1-3ca1f05374a8" REACT_APP_ANALYTICS_ID_PROD = "f558164e-e388-49e0-864e-5f172552789c" - - TEAMS_HOST = credentials('TEAMS_HOST') - WEBHOOK = credentials('WEBHOOK') } stages { @@ -39,6 +36,10 @@ pipeline { // RELEASE NOTES stage('Release notes') { + environment { + TEAMS_HOST = credentials('TEAMS_HOST') + WEBHOOK = credentials('WEBHOOK') + } // when { // branch 'production-release-v*'; // } @@ -46,11 +47,12 @@ pipeline { timeout(time: 5, unit: 'MINUTES') } steps { - sh "docker build -f ./Dockerfile.release " + - "--build-arg WEBHOOK=${WEBHOOK} " + - "--build-arg TEAMS_HOST=${TEAMS_HOST} " + - "--shm-size 1G " + - "." + sh 'echo "TEAMS_HOST is $TEAMS_HOST"' + // sh "docker build -f ./Dockerfile.release " + + // "--build-arg WEBHOOK=${WEBHOOK} " + + // "--build-arg TEAMS_HOST=${TEAMS_HOST} " + + // "--shm-size 1G " + + // "." } }