Christian Höltje created JENKINS-13145:
------------------------------------------
Summary: platformlabeler: Labels aren't recognized in &&
expressions until a node is configured and saved.
Key: JENKINS-13145
URL: https://issues.jenkins-ci.org/browse/JENKINS-13145
Project: Jenkins
Issue Type: Bug
Components: platformlabeler
Affects Versions: current
Environment: JRE 1.7
Reporter: Christian Höltje
Assignee: lifeless
The platformlabelers' labels don't seem to "work" until you go into a Node and
configure it and save (you don't have to change anything).
To recreate:
* Install the plugin
* Create a job restricted to nodes with expression like
"CentOS&&firefox&&jruby" (assuming you have a node like that)
* Restart Jenkins
* build the job
Notice how it says that no nodes exist for "CentOS&&firefox&&jruby". You can
click on it and it shows no nodes matching that.
To fix:
* Go to a node with CentOS as a label
* configure it
* save it (no changes needed)
Notice how the job finds the appropriate node.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira