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

Improve validation of 'builds dir' global setting

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      I am using Jenkins 1.475 with the perforce plugin.
      I have several jobs using different perforce workspaces and different Jenkins workspaces.
      For some reason the build history for each job includes the builds of other jobs. This may be related to JENKINS-11853.
      The last failed and last successful builds seem to be determined by build number rather than date.

      If you look at the second and third snapshots you can see that Jenkins alternates in its decision over what builds to include in the the history on the left hand side. This may be related or a separate bug.

      I have given each job a custom workspace with a unique name to avoid conflicts. Further I have installed the set next build number plugin and given each job a next build number +1000 from the others. This seemed to work until I was forced to restart Jenkins (due to a hardware issue) after which the problem has reoccurred. This scheme would be unviable in general anyway after any one project had more than 1000 builds.

      This may be down to a misconfiguration of some kind on my part but it is not at all obvious what is wrong or how to fix it.
      A contributing factor could be that some jobs were created by copying existing jobs. Perhaps this caused something to be shared that shouldn't be?

        1. jenkins1.png
          180 kB
          Bruce Adams
        2. jenkins2.png
          175 kB
          Bruce Adams
        3. jenkins3.png
          190 kB
          Bruce Adams

          [JENKINS-14583] Improve validation of 'builds dir' global setting

          Bruce Adams created issue -
          Bruce Adams made changes -
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          Summary Original: Build number history is shared by different jobs New: Make location of build history more obvious
          Daniel Beck made changes -
          Assignee New: Daniel Beck [ danielbeck ]
          Daniel Beck made changes -
          Summary Original: Make location of build history more obvious New: Improve validation of 'builds dir' global setting
          Daniel Beck made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Daniel Beck made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 145268 ] New: JNJira + In-Review [ 191408 ]

            danielbeck Daniel Beck
            tortoise74 Bruce Adams
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: