mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-14 02:25:02 +08:00
Do a shallow clone when running CI in Jenkins
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user