jenkins-bot has submitted this change and it was merged.

Change subject: php-composer-validate now use a shallow clone
......................................................................


php-composer-validate now use a shallow clone

The job is shared between repositories.  Just wipe the workspace and use
a shallow clone from Zuul.

Bug: 69433
Change-Id: I372264e4c01adbb36c6af8e2190a8d90cee5dd38
---
M php.yaml
1 file changed, 10 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/php.yaml b/php.yaml
index f9bf572..d15c038 100644
--- a/php.yaml
+++ b/php.yaml
@@ -6,6 +6,16 @@
     defaults: use-remote-zuul
     concurrent: true
 
+    # Clear workspace and use a shallow clone from Zuul
+    scm:
+     - git:
+        url: '$ZUUL_URL/$ZUUL_PROJECT'
+        branches:
+         - '$ZUUL_COMMIT'
+        refspec: '$ZUUL_REF'
+        wipe-workspace: true
+        shallow-clone: true
+
     triggers:
      - zuul
     builders:

-- 
To view, visit https://gerrit.wikimedia.org/r/155534
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I372264e4c01adbb36c6af8e2190a8d90cee5dd38
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to