[Asterisk-code-review] CI: Turn off shallow cloning altogether (asterisk[16])

Friendly Automation asteriskteam at digium.com
Mon Dec 2 07:08:46 CST 2019


Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/13321 )

Change subject: CI: Turn off shallow cloning altogether
......................................................................

CI: Turn off shallow cloning altogether

Change-Id: I73ed4aef33a92f20080128aafc34e19fd4457196
---
M tests/CI/gates.jenkinsfile
M tests/CI/periodics-daily.jenkinsfile
M tests/CI/ref_debug.jenkinsfile
M tests/CI/unittests.jenkinsfile
4 files changed, 5 insertions(+), 10 deletions(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  Friendly Automation: Looks good to me, approved; Approved for Submit



diff --git a/tests/CI/gates.jenkinsfile b/tests/CI/gates.jenkinsfile
index e52d3a4..a5465ce 100644
--- a/tests/CI/gates.jenkinsfile
+++ b/tests/CI/gates.jenkinsfile
@@ -115,8 +115,7 @@
 									[$class: 'CloneOption',
 										honorRefspec: true,
 										noTags: true,
-										depth: 100,
-										shallow: true
+										shallow: false
 									],
 									[$class: 'PruneStaleBranch'],
 									[$class: 'BuildChooserSetting',
@@ -203,9 +202,8 @@
 												[$class: 'RelativeTargetDirectory', relativeTargetDir: groupDir],
 												[$class: 'CloneOption',
 													noTags: true,
-													depth: 100,
 													honorRefspec: true,
-													shallow: true
+													shallow: false
 												],
 											],
 											userRemoteConfigs: [
diff --git a/tests/CI/periodics-daily.jenkinsfile b/tests/CI/periodics-daily.jenkinsfile
index 11e9ed3..3ba8dfc 100644
--- a/tests/CI/periodics-daily.jenkinsfile
+++ b/tests/CI/periodics-daily.jenkinsfile
@@ -81,9 +81,8 @@
 										[$class: 'RelativeTargetDirectory', relativeTargetDir: "tests/CI/output/publish-docs"],
 										[$class: 'CloneOption',
 											noTags: true,
-											depth: 100,
 											honorRefspec: true,
-											shallow: true
+											shallow: false
 										],
 									],
 									userRemoteConfigs: [[url: docUrl]]
diff --git a/tests/CI/ref_debug.jenkinsfile b/tests/CI/ref_debug.jenkinsfile
index 31fc85d..742d5f8 100644
--- a/tests/CI/ref_debug.jenkinsfile
+++ b/tests/CI/ref_debug.jenkinsfile
@@ -102,9 +102,8 @@
 												[$class: 'RelativeTargetDirectory', relativeTargetDir: groupDir],
 												[$class: 'CloneOption',
 													noTags: true,
-													depth: 100,
 													honorRefspec: true,
-													shallow: true
+													shallow: false
 												],
 											],
 											userRemoteConfigs: [[url: testsuiteUrl]]
diff --git a/tests/CI/unittests.jenkinsfile b/tests/CI/unittests.jenkinsfile
index 96ea213..1a0876d 100644
--- a/tests/CI/unittests.jenkinsfile
+++ b/tests/CI/unittests.jenkinsfile
@@ -115,8 +115,7 @@
 									[$class: 'CloneOption',
 										honorRefspec: true,
 										noTags: true,
-										depth: 100,
-										shallow: true
+										shallow: false
 									],
 									[$class: 'PruneStaleBranch'],
 									[$class: 'BuildChooserSetting',

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/13321
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I73ed4aef33a92f20080128aafc34e19fd4457196
Gerrit-Change-Number: 13321
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20191202/9fd4ebe3/attachment-0001.html>


More information about the asterisk-code-review mailing list