-
Bug
-
Resolution: Fixed
-
Blocker
-
None
It is possible to create a job which will never end by configuring a job like:
job { name "Test" configure { root -> // Please note I forgot to start with "root" (properties / 'hudson.plugins.disk__usage.DiskUsageProperty').@plugin="disk-usage@0.23" } }
I did obviously a mistake in the configuration block since I start with "properties" instead of "root". Neverless it would be good if in this case the job would just fail.
JobDSL Plugin Version 1.22
[JENKINS-22708] JobDSL Plugin can produce never ending jobs (resource leak)
Description |
Original:
It is possible to create a job which will never end by configuring a job like: {code} job { name "Test" configure { root -> // Please note I forgot to start with "root" properties / 'hudson.plugins.disk__usage.DiskUsageProperty').@plugin="disk-usage@0.23" } } {code} I did obviously a mistake in the configuration block since I start with "properties" instead of "root". Neverless it would be good if in this case the job would just fail. JobDSL Plugin Version 1.22 |
New:
It is possible to create a job which will never end by configuring a job like: {code} job { name "Test" configure { root -> // Please note I forgot to start with "root" properties / ('hudson.plugins.disk__usage.DiskUsageProperty').@plugin="disk-usage@0.23" } } {code} I did obviously a mistake in the configuration block since I start with "properties" instead of "root". Neverless it would be good if in this case the job would just fail. JobDSL Plugin Version 1.22 |
Description |
Original:
It is possible to create a job which will never end by configuring a job like: {code} job { name "Test" configure { root -> // Please note I forgot to start with "root" properties / ('hudson.plugins.disk__usage.DiskUsageProperty').@plugin="disk-usage@0.23" } } {code} I did obviously a mistake in the configuration block since I start with "properties" instead of "root". Neverless it would be good if in this case the job would just fail. JobDSL Plugin Version 1.22 |
New:
It is possible to create a job which will never end by configuring a job like: {code} job { name "Test" configure { root -> // Please note I forgot to start with "root" (properties / 'hudson.plugins.disk__usage.DiskUsageProperty').@plugin="disk-usage@0.23" } } {code} I did obviously a mistake in the configuration block since I start with "properties" instead of "root". Neverless it would be good if in this case the job would just fail. JobDSL Plugin Version 1.22 |
Assignee | Original: Justin Ryan [ quidryan ] | New: Daniel Spilker [ daspilker ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JNJira [ 154820 ] | New: JNJira + In-Review [ 207638 ] |