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
+5
-5
@@ -1,9 +1,9 @@
|
||||
// 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
|
||||
// def payload = readJSON text: "${payload}"
|
||||
// String userName = payload.user_name
|
||||
// String userEmail = payload.user_email
|
||||
// String httpUrl = payload.project.http_url
|
||||
|
||||
|
||||
pipeline {
|
||||
@@ -20,7 +20,7 @@ pipeline {
|
||||
stage('Download source code from Git') {
|
||||
steps {
|
||||
git(
|
||||
url: httpUrl,
|
||||
url: payload.project.http_url,
|
||||
credentialsId: 'gitlab-jenkins-localhost',
|
||||
branch: 'vapor/production'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user