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

job dsl summary hides multiple jobs with the same display name

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: job-dsl-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.121.3
      Job DSL 1.64
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              daspilker Daniel Spilker
              Reporter:
              mcrooney mcrooney
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: