From a2e294fe3e957d27facfbcf193bbcb8d214602ad Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Sun, 26 Nov 2023 19:41:53 +0800 Subject: [PATCH] New branch for production environment with Jenkins with Multibranch pipeline --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c838459..fa96b88 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,7 +22,7 @@ pipeline { git( url: httpUrl, credentialsId: 'gitlab-jenkins-localhost', - branch: 'test' + branch: 'vapor/production' ) } } @@ -44,7 +44,7 @@ pipeline { script{ String gitCommitMessage = getCommitMessage() println("GIT CommitMessage: " + gitCommitMessage) - sh "vendor/bin/vapor deploy staging --message='${gitCommitMessage}'" + sh "vendor/bin/vapor deploy production --message='${gitCommitMessage}'" } } }