Adjust branch variable for multi branch job
oggui-multibranch/pipeline/head This commit looks good Details
ogGui-multibranch/pipeline/head There was a failure building this commit Details

oggui/translations
Nicolas Arenas 2024-10-25 06:44:46 +02:00
parent a3e236beaa
commit 2f3e119b54
1 changed files with 1 additions and 3 deletions

View File

@ -17,7 +17,6 @@ pipeline {
echo 'Building....'
script {
def DOCKER_TAG = "${env.BUILD_NUMBER}"
def BRANCH_NAME = "${env.GIT_BRANCH.split('/')[1]}"
dir('ogWebconsole') {
IMAGE_ID = "${DOCKER_REPO}/${DOCKER_IMAGE_NAME}:${BRANCH_NAME}-${DOCKER_TAG}"
@ -30,7 +29,6 @@ pipeline {
env.IMAGE_ID_TESTING = IMAGE_ID_TESTING
env.IMAGE_ID = IMAGE_ID
env.LATEST_ID = LATEST_ID
env.BRANCH_NAME = BRANCH_NAME
docker.build("${IMAGE_ID_TESTING}", "-f Dockerfile-testing .")
}
}
@ -92,7 +90,7 @@ pipeline {
body: """
<h1>Opengnsys CI Build ${JOB_NAME} - ${BRANCH_NAME} - ${buildResult}</h1>
<p>Build Number: ${BUILD_NUMBER}</p>
<p>Build URL: ${BUILD_URL}</p>
<p>Build URL: ${BUILD_URL}</p>º
Saludos cordiales,
Opengnsys CI