From 3829c6569967428f4a783f2bf6315f801679d6d5 Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Mon, 27 Nov 2023 09:42:28 +0800 Subject: [PATCH] Jenkinsfile update to cater for Multibranch deployment through Jenkins --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e02e15b5..8004febc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,7 +23,7 @@ pipeline { switch(GIT_BRANCH) { case "vapor/production": case "vapor/staging": - case "dillon/34-jenkins-vapor": + case "origin/dillon/34-jenkins-vapor": git( url: 'https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git', credentialsId: 'gitlab-jenkins-localhost', @@ -60,7 +60,7 @@ pipeline { case "vapor/staging": sh "vendor/bin/vapor deploy staging --message='${gitCommitMessage}'" break - case "dillon/34-jenkins-vapor": + case "origin/dillon/34-jenkins-vapor": sh "vendor/bin/vapor deploy staging --message='${gitCommitMessage}'" break }