From ce842b95c91c6b076e99c17390b52f7b9f5b85fa Mon Sep 17 00:00:00 2001 From: narendra311777 <33356223+narendra311777@users.noreply.github.com> Date: Sat, 26 Oct 2019 20:39:06 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index caae3ef..f69f987 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,10 @@ pipeline { agent any + + stage('scm checkout'){ + git 'https://github.com/narendra311777/mycode.git' + } stages { @@ -16,7 +20,7 @@ pipeline { steps { withCredentials([[$class : 'UsernamePasswordMultiBinding', - credentialsId : 'PCF_LOGIN', + credentialsId : 'pcf_login', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD']]) { @@ -29,4 +33,4 @@ pipeline { } -} \ No newline at end of file +}