Jenkinsfile update to cater for Multibranch deployment through Jenkins

This commit is contained in:
Dillon Ngo
2023-11-27 09:56:38 +08:00
parent 6655065f38
commit d4385b434e
Vendored
+5
View File
@@ -23,6 +23,11 @@ pipeline {
switch(GIT_BRANCH) {
case "vapor/production":
case "vapor/staging":
git(
url: 'https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git',
credentialsId: 'gitlab-jenkins-localhost',
branch: GIT_BRANCH
)
case "origin/dillon/34-jenkins-vapor":
git(
url: 'https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git',