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

References to created jobs stored undefinitely

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: job-dsl-plugin
    • Labels:
      None
    • Environment:
      job-dsl 1.53
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          thefifo Wolfgang Issovits created issue -

            People

            • Assignee:
              daspilker Daniel Spilker
              Reporter:
              thefifo Wolfgang Issovits
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: