Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
janthijs committed Oct 3, 2023
1 parent fe47114 commit 3059b21
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,28 +29,30 @@ pipeline {
REACT_APP_SENTRY_DSN = "https://[email protected]/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 {

// RELEASE NOTES

stage('Release notes') {
environment {
TEAMS_HOST = credentials('TEAMS_HOST')
WEBHOOK = credentials('WEBHOOK')
}
// when {
// branch 'production-release-v*';
// }
options {
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 " +
// "."
}
}

Expand Down

0 comments on commit 3059b21

Please sign in to comment.