-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
jenkins: 2.44
job-dsl-plugin: 1.57
os: windows 10
Hi.
I encountered this issue by accident and can see in jira that whitespaces have been an issue before.
When providing a simple dsl such as:
job('test ')
It executes without and exceptions but yet doesn't create the job.
I'd expect that checkGoodName would catch it and throw and exception.
Thanks in advance!
Processing provided DSL script
Added items:
GeneratedJobUnknown macro: {name='test '}Unreferenced items:
GeneratedJobUnknown macro: {name='test'}Finished: SUCCESS
I can not reproduce the problem. The job has been generated, it's URL is http://localhost:8080/job/test%20/.
Processing provided DSL script Added items: GeneratedJob{name='test '} Finished: SUCCESS