From 6203805f6288709c7a5cfc007b735c1c86432d36 Mon Sep 17 00:00:00 2001 From: Maharshi Patel Date: Mon, 11 Jan 2021 07:58:42 -0800 Subject: [PATCH] pull from jenkinsfile --- Jenkinsfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 5a4e44a8d..a3e1a7dec 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,6 +24,13 @@ pipeline { // START : Stages ///////////////////////////////////////////////////////////////////// stages { + stage ('clone git repository') { + steps{ + script { + checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://github.com/mnpatel0611/spring-petclinic']]]) + } + } + } stage('build started') { steps { echo "//////////////// build <<< ${env.BUILD_ID} >>> started ////////////////////"