Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/52076


Change subject: (bug 45713) points jslint URL to the checkstyle report
......................................................................

(bug 45713) points jslint URL to the checkstyle report

Each jobs triggered by Zuul has a status URL used to craft the message
reported back in Gerrit.  Turns out we can tweak the URL on a per job
basis!

This patch make any jslint job to use the '/checkstyleResult' URL by
default instead of the console.

Change-Id: I6d824556f29b18d006dbe681d56ae014ece1edeb
---
M layout.yaml
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/zuul-config 
refs/changes/76/52076/1

diff --git a/layout.yaml b/layout.yaml
index 46035ac..0f01011 100644
--- a/layout.yaml
+++ b/layout.yaml
@@ -220,6 +220,8 @@
   # Disabled by default since most MediaWiki extensions do not pass tests yet:
   - name: ^.*-jslint$
     voting: false  # Until we are sure it works fine
+    failure-pattern: 
http://integration.mediawiki.org/ci/job/{job.name}/{build.number}/checkstyleResult/
+    success-pattern: 
http://integration.mediawiki.org/ci/job/{job.name}/{build.number}/checkstyleResult/
 
   # Python linter, most of our script fail the tests miserably
   - name: ^.*-pep8$

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6d824556f29b18d006dbe681d56ae014ece1edeb
Gerrit-PatchSet: 1
Gerrit-Project: integration/zuul-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

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

Reply via email to