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

Change subject: Any *-jessie jobs now put slave offline
......................................................................


Any *-jessie jobs now put slave offline

All the jobs suffixed with '-jessie' are running on Nodepool instances
and thus must set NODE_OFFLINE_WHEN_COMPLETE.

The job integration-config-tox-py27-jessie was improperly configured
when integration/config got set out of the 'mediawiki' queue (T126298,
878c7e93f). The regex was: /^tox-.*-jessie$/.

Bug: T126298
Change-Id: I185758a88001276114dbfaa243e894efe1003459
---
M zuul/parameter_functions.py
1 file changed, 2 insertions(+), 3 deletions(-)

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



diff --git a/zuul/parameter_functions.py b/zuul/parameter_functions.py
index ae58347..802851f 100644
--- a/zuul/parameter_functions.py
+++ b/zuul/parameter_functions.py
@@ -27,10 +27,9 @@
     if job.name.startswith(ext_deps_jobs):
         set_ext_dependencies(item, job, params)
 
-    if job.name in ['tox-jessie', 'rake-jessie',
-                    'integration-jjb-config-diff']:
+    if job.name.endswith('-jessie'):
         offline_when_complete(item, job, params)
-    elif re.search('^tox-.*-jessie$', job.name):
+    elif job.name in ['integration-jjb-config-diff']:
         offline_when_complete(item, job, params)
 
     if job.name.endswith('-publish'):

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I185758a88001276114dbfaa243e894efe1003459
Gerrit-PatchSet: 1
Gerrit-Project: integration/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