Do not offline wheel build workers

The wheel building slaves are long-running, so they should not
be offlined when jobs complete.

Change-Id: I1d4fff28634614af47b7c7e6be1ff417cb35e0e9
This commit is contained in:
James E. Blair
2016-02-04 07:28:24 -08:00
parent 2fca0b8475
commit 7c4e04484c

View File

@@ -48,7 +48,11 @@ def set_node_options(item, job, params):
proposal_re = r'^.*(merge-release-tags|(propose|upstream)-(.*?)-(constraints-.*|updates?|update-liberty))$' # noqa
release_re = r'^.*-(forge|jenkinsci|mavencentral|pypi-(both|wheel)|npm)-upload$'
hook_re = r'^hook-(.*?)-(rtfd)$'
# jobs run on the persistent proposal and release workers
if (re.match(proposal_re, job.name) or re.match(release_re, job.name) or
re.match(hook_re, job.name)):
wheel_re = r'^wheel-build-.*$'
# jobs run on the persistent proposal, release, and wheel build
# workers
if (re.match(proposal_re, job.name) or
re.match(release_re, job.name) or
re.match(hook_re, job.name) or
re.match(wheel_re, job.name)):
reusable_node(item, job, params)