Fix branch name

develop-jenkins
Nicolas Arenas 2024-10-22 20:51:06 +02:00
parent b8eeb86a95
commit 57e5e57059
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ pipeline {
DOCKER_CREDENTIALS = credentials('DOCKER_HUB_TOKEN')
DOCKER_TAG = "${env.BUILD_NUMBER}"
DOCKER_IMAGE_NAME = "oggui"
BRANCH_NAME = "${env.GIT_BRANCH}"
BRANCH_NAME = "${GIT_BRANCH.split("/")[1]}"
}
stages {
stage ('Checkout') {