Merge "Do not offline wheel build workers"

This commit is contained in:
Jenkins 2016-02-04 19:48:31 +00:00 committed by Gerrit Code Review
commit 5a8c3eebe7

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