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

Symbolic link is not updated after publishing build

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • build-publisher-plugin
    • None
    • internal jenkins:
        build-publisher: 1.12
        Jenkins ver. 1.510
      external jenkins
        Jenkins ver. 1.510

      On pushing a build onto an external jenkins, symbolic links are not updated.
      e.g. the symbolic link jenkins/jobs/jobName/builds/lastSuccessfulBuild is still directing to #1361 even though successful build #1365 is already pushed.
      as a result the web interface is showing the wrong build in Last Successful Artifacts (www.MyJenkinsServer/job/jobName/label=labelXY/lastSuccessfulBuild/artifact/)

      if i delete the symbolic link and restart jenkins, a link to the latest build is created but is not updated during the further procedure.

      lrwxrwxrwx 1 jenkins jenkins 4 6. Jun 12:20 lastSuccessfulBuild -> 1361

          [JENKINS-18238] Symbolic link is not updated after publishing build

          Stefan Rohleder created issue -
          Stefan Rohleder made changes -
          Description Original: On pushing a build onto an external jenkins, symbolic links are not updated.
          e.g. the symbolic link jenkins/jobs/jobName/builds/lastSuccessfulBuild is still directing to #1361 even though successful build #1365 is already pushed.
          as a result the web interface is showing the wrong build in Last Successful Artifacts (www.MyJenkinsServer/job/jobName/label=labelXY/lastSuccessfulBuild/artifact/)

          if i delete the symbolic link and restart jenkins, a link to the latest build is created but is not updated during the further procedure.

          lrwxrwxrwx 1 jenkins jenkins 4 4. Jun 17:17 lastStableBuild -> 1361
          New: On pushing a build onto an external jenkins, symbolic links are not updated.
          e.g. the symbolic link jenkins/jobs/jobName/builds/lastSuccessfulBuild is still directing to #1361 even though successful build #1365 is already pushed.
          as a result the web interface is showing the wrong build in Last Successful Artifacts (www.MyJenkinsServer/job/jobName/label=labelXY/lastSuccessfulBuild/artifact/)

          if i delete the symbolic link and restart jenkins, a link to the latest build is created but is not updated during the further procedure.

          lrwxrwxrwx 1 jenkins jenkins 4 6. Jun 12:20 lastSuccessfulBuild -> 1361
          vjuranek made changes -
          Assignee Original: vjuranek [ vjuranek ] New: Lucie Votypkova [ lvotypkova ]
          vjuranek made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 149543 ] New: JNJira + In-Review [ 193172 ]

            lvotypkova Lucie Votypkova
            stefan_rohleder Stefan Rohleder
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: