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

References to created jobs stored undefinitely

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • job-dsl-plugin
    • None
    • job-dsl 1.53

      I have the following issue when creating jobs with the job DSL plugin:

      DSL-SeedJob1:

      • Run1: Generate Job1, Job2, Job3
      • Run2: Generate Job1 (Job2, Job3 are deleted as configured in the Seed Job)

      DSL-SeedJob2:

      • Run1: Generate Job2, Job3

      After this sequence, Job2 and Job3 are referenced in the DSL-SeedJob1 as "Generated Items", although they were last generated by DSL-SeedJob2.

      The issue is now that if I rerun DSL.SeedJob1, it will delete Job2 and Job3 again, although it did not create it the last time.

      Is there a reason why the references of older runs are stored forever in a seed job? If not I would recommend to update the references every time the seed job runs.

            jamietanna Jamie Tanna
            thefifo Wolfgang Issovits
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: