Unverified Commit 0d4ea101 authored by Keshav Prasad's avatar Keshav Prasad Committed by GitHub
Browse files

fix: Revert changes to shallow clone

Showing with 1 addition and 1 deletion
+1 -1
......@@ -21,7 +21,7 @@ def call(Map pipelineParams) {
}
def checkDir = new File('../private')
if(!checkDir.exists())
checkout scm: [$class: 'GitSCM', branches: [[name: private_repo_branch]], extensions: [[$class: 'CloneOption', depth: 1, noTags: true, reference: '', shallow: true]], userRemoteConfigs: [[credentialsId: private_repo_credentials, url: private_repo_url]]]
git branch: private_repo_branch, url: private_repo_url, credentialsId: private_repo_credentials
println(ANSI_BOLD + ANSI_YELLOW + 'Github repo already exists. Not cloning again' + ANSI_NORMAL)
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment