[Asterisk-code-review] CI: Turn off shallow cloning altogether (testsuite[master])

Friendly Automation asteriskteam at digium.com
Mon Dec 2 07:12:02 CST 2019


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

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

CI: Turn off shallow cloning altogether

Change-Id: I68be9fd7e9e4fd80f87ab58a94171cfffcf8ea05
---
M CI/gates.jenkinsfile
M CI/unittests.jenkinsfile
2 files changed, 4 insertions(+), 8 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/CI/gates.jenkinsfile b/CI/gates.jenkinsfile
index 3441c00..fb004e5 100644
--- a/CI/gates.jenkinsfile
+++ b/CI/gates.jenkinsfile
@@ -107,8 +107,7 @@
 								[$class: 'CloneOption',
 									honorRefspec: true,
 									noTags: true,
-									depth: 100,
-									shallow: true
+									shallow: false
 								],
 								[$class: 'PruneStaleBranch'],
 								[$class: 'BuildChooserSetting',
@@ -146,9 +145,8 @@
 								[$class: 'RelativeTargetDirectory', relativeTargetDir: astDir],
 								[$class: 'CloneOption',
 									noTags: true,
-									depth: 100,
 									honorRefspec: true,
-									shallow: true
+									shallow: false
 								],
 							],
 							userRemoteConfigs: [[name: env.GERRIT_NAME, url: asteriskUrl]]
diff --git a/CI/unittests.jenkinsfile b/CI/unittests.jenkinsfile
index 0312c24..88bf4c7 100644
--- a/CI/unittests.jenkinsfile
+++ b/CI/unittests.jenkinsfile
@@ -109,8 +109,7 @@
 								[$class: 'CloneOption',
 									honorRefspec: true,
 									noTags: true,
-									depth: 100,
-									shallow: true
+									shallow: false
 								],
 								[$class: 'PruneStaleBranch'],
 								[$class: 'BuildChooserSetting',
@@ -148,9 +147,8 @@
 								[$class: 'RelativeTargetDirectory', relativeTargetDir: astDir],
 								[$class: 'CloneOption',
 									noTags: true,
-									depth: 100,
 									honorRefspec: true,
-									shallow: true
+									shallow: false
 								],
 							],
 							userRemoteConfigs: [[name: env.GERRIT_NAME, url: asteriskUrl]]

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

Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Change-Id: I68be9fd7e9e4fd80f87ab58a94171cfffcf8ea05
Gerrit-Change-Number: 13326
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/99415c98/attachment.html>


More information about the asterisk-code-review mailing list