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

Change subject: Only trigger JJB config diff when changed
......................................................................


Only trigger JJB config diff when changed

integration-jjb-config-diff generates the Jenkins jobs twice which takes
roughly 3 minutes.  That is rather useless when there is no
modifications to any of the JJB configuration files, for example a
change to the Zuul configuration file.

Skip the job unless the change touch files under jjb/.

Change-Id: Id5a13a0bf4b7ebb9f822f6907a04a06bed146a9b
---
M zuul/layout.yaml
1 file changed, 1 insertion(+), 0 deletions(-)

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



diff --git a/zuul/layout.yaml b/zuul/layout.yaml
index 0eec41e..65ce9bf 100644
--- a/zuul/layout.yaml
+++ b/zuul/layout.yaml
@@ -1567,6 +1567,7 @@
   - name: 'integration-jjb-config-diff'
     success-message: 'Please carefully review the XML difference before 
deploying/merging your change.'
     failure-message: 'FAILURE while comparing your patchset with the current 
configuration version'
+    files: '^jjb/.*'
 
   - name: 'integration-zuul-layoutdiff'
     voting: false

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id5a13a0bf4b7ebb9f822f6907a04a06bed146a9b
Gerrit-PatchSet: 3
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Cmcmahon <[email protected]>
Gerrit-Reviewer: Cscott <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: Zfilipin <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to