Skip to content
Snippets Groups Projects

Update Jenkinsfile for new default branch

Merged Martin Lowe requested to merge malowe-main-patch-98194 into main
1 file
+ 1
5
Compare changes
  • Side-by-side
  • Inline
+ 1
5
@@ -75,13 +75,9 @@
}
environment {
APP_NAME = 'geoip-rest-api'
NAMESPACE = 'foundation-internal-webdev-apps'
IMAGE_NAME = 'eclipsefdn/geoip-rest-api'
CONTAINER_NAME = 'app'
ENVIRONMENT = sh(
script: """
if [ "${env.BRANCH_NAME}" = "master" ]; then
if [ "${env.BRANCH_NAME}" = "main" ]; then
printf "production"
else
printf "${env.BRANCH_NAME}"
Loading