mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/vapor-laravel-explore.git
synced 2026-08-19 04:24:03 +00:00
New branch for production environment with Jenkins with Multibranch pipeline
This commit is contained in:
Vendored
+2
-2
@@ -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}'"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user