Adamw has uploaded a new change for review.

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

Change subject: UNTESTED: Only run jshint on modified files
......................................................................

UNTESTED: Only run jshint on modified files

This is consistent with how we run PHP lint.

Change-Id: Icf659644c8cb3a366310757f17377fbe97b0575d
---
M macro.yaml
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/integration/jenkins-job-builder-config 
refs/changes/27/121127/1

diff --git a/macro.yaml b/macro.yaml
index 48b7b6b..447fb99 100644
--- a/macro.yaml
+++ b/macro.yaml
@@ -59,7 +59,8 @@
         #!/bin/bash -xe
         cd "{dir}"
         /srv/deployment/integration/slave-scripts/bin/jshint --version
-        /srv/deployment/integration/slave-scripts/bin/jshint .
+        /srv/deployment/integration/slave-scripts/bin/git-changed-in-head js \
+            | xargs -n1 -t /srv/deployment/integration/slave-scripts/bin/jshint
 
 - builder:
     name: jshint

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icf659644c8cb3a366310757f17377fbe97b0575d
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Adamw <[email protected]>

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

Reply via email to