diff --git a/Jenkinsfile b/Jenkinsfile index c838459..1658515 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 } +