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

job dsl summary hides multiple jobs with the same display name

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • job-dsl-plugin
    • None
    • Jenkins ver. 2.121.3
      Job DSL 1.64
    • job-dsl 1.76

      Howdy there, thanks for this fine plugin! We are noticing that in a job page that uses Job DSL, where it says "Generated Items" and lists all the jobs that job generated, it will only list one job if there are multiple with the same display name.

      Having multiple jobs with the same display name is allowed in Jenkins, and not inherently confusing when they are placed in different folders for context, but this bug prevents us from using the summary page to see which jobs it created accurately.

      Looking at the code, I'm wondering if this is related to "Sort generated items by name on the seed job's summary and build pages (JENKINS-38648)": https://github.com/jenkinsci/job-dsl-plugin/compare/4aaf8e924c90...2c13f9aa4c0e. It seems to use a Set based on job name so perhaps that is the issue, though I don't completely follow what it is doing so I'm not 100% sure.

            daspilker Daniel Spilker
            mcrooney mcrooney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: