-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 2.16
Implied Labels 0.5
Docker Plugin 0.16.1
OS: Centos 6.8
If using a Cloud (ie docker) type slaves, implied labels that refer to labels defined in the Cloud configuration do not work (No nodes that match expression).
Steps to reproduce problem:
- Install docker plugin
- Define a new Cloud in Jenkins main config
- Define a new Docker template in the new cloud and assign it some labels (ie "docker")
- Create a new implied label, ie "container" -> "docker"
- Restrict any job to run on label "container"
- Run job (never executes since there are no matching nodes)
It is possible that you do not even need to configure the Cloud with valid values for this test.
Workaround for simple aliasing:
Instead of using implied labels, add "container" directly to every docker template definition.