Do a shallow clone when running CI in Jenkins

This commit is contained in:
mprahl
2017-11-10 09:14:21 -05:00
parent d1e80b8ad7
commit cf8c219f67

2
Jenkinsfile vendored
View File

@@ -32,7 +32,7 @@ node('factory2'){
}
stage('Clone Test Suite') {
onmyduffynode "git clone -b \"${env.BRANCH_NAME}\" https://pagure.io/fm-orchestrator"
onmyduffynode "git clone -b \"${env.BRANCH_NAME}\" --single-branch --depth 1 https://pagure.io/fm-orchestrator"
}
stage('Prepare Node') {