Merge branch 'master' into dependabot/npm_and_yarn/backend/knex-0.19.5

This commit is contained in:
jc21 2020-02-19 16:47:37 +11:00 committed by GitHub
commit 5cc23613a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

18
Jenkinsfile vendored
View file

@ -14,10 +14,7 @@ pipeline {
COMPOSE_FILE = 'docker/docker-compose.ci.yml'
COMPOSE_INTERACTIVE_NO_CLI = 1
BUILDX_NAME = "${COMPOSE_PROJECT_NAME}"
BRANCH_LOWER = "${BRANCH_NAME.toLowerCase()}"
// Defaults to the Branch name, which is applies to all branches AND pr's
BUILDX_PUSH_TAGS = "-t docker.io/jc21/${IMAGE}:github-${BRANCH_LOWER}"
BRANCH_LOWER = "${BRANCH_NAME.toLowerCase().replaceAll('/', '-')}"
}
stages {
stage('Environment') {
@ -32,6 +29,19 @@ pipeline {
}
}
}
stage('Other') {
when {
not {
branch 'master'
}
}
steps {
script {
// Defaults to the Branch name, which is applies to all branches AND pr's
env.BUILDX_PUSH_TAGS = "-t docker.io/jc21/${IMAGE}:github-${BRANCH_LOWER}"
}
}
}
}
}
stage('Frontend') {