Commit 09121c8c authored by Martin Lowe's avatar Martin Lowe Committed by Martin Lowe
Browse files

Update Jenkins to build to staging using staging branch.

parent 2baa874c
......@@ -80,11 +80,7 @@ pipeline {
CONTAINER_NAME = 'api'
ENVIRONMENT = sh(
script: """
if [ "${env.BRANCH_NAME}" = "master" ]; then
printf "staging"
else
printf "${env.BRANCH_NAME}"
fi
printf "${env.BRANCH_NAME}"
""",
returnStdout: true
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment