Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22708

JobDSL Plugin can produce never ending jobs (resource leak)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • job-dsl-plugin
    • 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)

            daspilker Daniel Spilker
            dkuffner Daniel Kuffner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: