Skip to content
Snippets Groups Projects
Commit 1822ef00 authored by Martin Lowe's avatar Martin Lowe :flag_ca:
Browse files

Update Jenkinsfile for new default branch

parent 8a7b5e8f
No related branches found
No related tags found
1 merge request!68Update Jenkinsfile for new default branch
Pipeline #13253 passed
......@@ -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}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment