-
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
[JENKINS-41670] job not created when name ends with whitespace but no exception
Environment |
Original:
jenkins: 2.44 job-dsl-plugin: 1.57 |
New:
jenkins: 2.44 job-dsl-plugin: 1.57 os: windows 10 |
Component/s | New: core [ 15593 ] |
Assignee | Original: Daniel Spilker [ daspilker ] |