Merge branch 'master' into dependabot/npm_and_yarn/backend/knex-0.19.5
This commit is contained in:
commit
5cc23613a2
1 changed files with 14 additions and 4 deletions
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
|
@ -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') {
|
||||
|
|
Loading…
Reference in a new issue