I've seen the below stacktrace:
Which it's caused when using doublequotes restricted labels:
When I debugged I saw the below details:
Unfortunately I wasn't able to reproduce in my test scenario with something like:
It looks like it is caused by: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/AbstractProject.java#L413 and when configuring jobs using the WebUI.
- If i use "getAssignedLabel().getName()" I don't see that error...
Please find attached the maven dependencies tree
If you need further details please let me know