From fda33aa26129d334f8052e91cccad50fdb386a4f Mon Sep 17 00:00:00 2001 From: Milan Petrovic <5rovicmilan8@gmail.com> Date: Wed, 11 Jun 2025 13:54:12 +0200 Subject: [PATCH] branch --- Jenkinsfile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7b46bc17c..cafd8e653 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,9 @@ pipeline { environment { GIT_COMMIT_SHORT = sh(script: "git rev-parse --short HEAD", returnStdout: true).trim() - DOCKER_HUB_USER = "m1kkY8" + DOCKER_HUB_USER = "m1kky8" + DOCKRHUB_CREDS = "580b959d-d40a-422f-a3d7-cf11b2ec7a4c" + } stages { @@ -23,7 +25,12 @@ pipeline { stage('Build') { steps { - sh './gradlew build -x test' + script { + def branch = env.BRANCH_NAME + sh """ + echo $BRANCH_NAME + """ + } } } }