mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/vapor-laravel-explore.git
synced 2026-08-19 04:24:03 +00:00
Test triggering of new webhook for Jenkins Multibranch setup
This commit is contained in:
Vendored
+3
-10
@@ -1,11 +1,3 @@
|
||||
// Webhook + Gitlab git pull + Vapor
|
||||
|
||||
def payload = readJSON text: "${payload}"
|
||||
String userName = payload.user_name
|
||||
String userEmail = payload.user_email
|
||||
String httpUrl = payload.project.http_url
|
||||
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
@@ -20,9 +12,9 @@ pipeline {
|
||||
stage('Download source code from Git') {
|
||||
steps {
|
||||
git(
|
||||
url: httpUrl,
|
||||
url: 'https://gitlab.com/CIEFWorldwideSdnBhd/vapor-laravel-explore.git',
|
||||
credentialsId: 'gitlab-jenkins-localhost',
|
||||
branch: 'test'
|
||||
branch: 'vapor/staging'
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -62,3 +54,4 @@ String getCommitMessage(){
|
||||
}
|
||||
return commitMessage
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user