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

New lazy loading permalinks can break job.lastStableBuild != null => job.lastSuccessfulBuild != null

      I have seen this on some Maven module builds, especially ones where only some of the modules in the pom are build, e.g. by using `-pl some-module -am`

      The MavenModuleSet will have both lastSuccessfulBuild and lastStableBuild defined.

      The individual MavenModule instances, however, will only have lastStable defined.

          [JENKINS-18846] New lazy loading permalinks can break job.lastStableBuild != null => job.lastSuccessfulBuild != null

          Stephen Connolly created issue -
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-17534 [ JENKINS-17534 ]

          Jesse Glick added a comment -

          The symptom described in JENKINS-19034 seems to be a corollary of this; the fix proposed for that is retroactive, whereas the fix for this would be proactive.

          Jesse Glick added a comment - The symptom described in JENKINS-19034 seems to be a corollary of this; the fix proposed for that is retroactive, whereas the fix for this would be proactive.
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-19034 [ JENKINS-19034 ]
          Jesse Glick made changes -
          Labels New: lazy-loading lts-candidate permalink symlink

          Jesse Glick added a comment -

          As far as I can tell, the actual symlinks have been incomplete or absent for Maven module builds for a long time; but this did not have a visible impact until JENKINS-16089 started using lastSuccessfulBuild to implement getLastSuccessfulBuild.

          Jesse Glick added a comment - As far as I can tell, the actual symlinks have been incomplete or absent for Maven module builds for a long time; but this did not have a visible impact until JENKINS-16089 started using lastSuccessfulBuild to implement getLastSuccessfulBuild .
          Jesse Glick made changes -
          Link New: This issue is blocking JENKINS-16089 [ JENKINS-16089 ]

          Jesse Glick added a comment -

          …and JENKINS-16023 started using other permalinks.

          Jesse Glick added a comment - …and JENKINS-16023 started using other permalinks.
          Jesse Glick made changes -
          Link New: This issue is blocking JENKINS-16023 [ JENKINS-16023 ]
          Jesse Glick made changes -
          Assignee New: Jesse Glick [ jglick ]

            jglick Jesse Glick
            stephenconnolly Stephen Connolly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: