Ejegg has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/363493 )

Change subject: Templatize phplint jobs
......................................................................

Templatize phplint jobs

Change-Id: I0130c3638f1b0e417354dd37e4e2cb54e9ffa175
---
M jjb/job-templates.yaml
1 file changed, 11 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/93/363493/1

diff --git a/jjb/job-templates.yaml b/jjb/job-templates.yaml
index 44c4926..a4ecb87 100644
--- a/jjb/job-templates.yaml
+++ b/jjb/job-templates.yaml
@@ -147,9 +147,9 @@
      - archive-log-allow-empty
      - castor-save
 
-- job:
-    name: 'php55lint'
-    node: contintLabsSlave && phpflavor-php55
+- job-template:
+    name: '{phpflavor}lint'
+    node: contintLabsSlave && phpflavor-{phpflavor}
     defaults: use-remote-zuul-shallow-clone
     concurrent: true
     triggers:
@@ -157,9 +157,9 @@
     builders:
      - phplint
 
-- job-template:
-    name: '{name}-php55lint'
-    node: contintLabsSlave && phpflavor-php55
+- job-template: &name_lint
+    name: '{name}-{phpflavor}lint'
+    node: contintLabsSlave && phpflavor-{phpflavor}
     defaults: use-remote-zuul-no-submodules
     concurrent: true
     properties:
@@ -170,6 +170,11 @@
     builders:
      - phplint
 
+- job-template:
+    <<: *name_lint
+    name: '{name}-php55lint'
+    node: contintLabsSlave && phpflavor-php55
+
 # Verify whether there is any leading tabs in files matching 'fileselector'.
 #
 # 'fileselector': the parameter is passed to grep --include= option and is

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0130c3638f1b0e417354dd37e4e2cb54e9ffa175
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Ejegg <ej...@ejegg.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to