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

Jenkins 1.509 has different behaviour with symlink handling of e.g. lastSuccessful

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Not A Defect
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      I upgraded a system to Jenkins v1.509 and noticed a custom script breaks now which used to work fine. The reason seems to be a change which seems to have been introduced somewhere around v1.509 if I'm not mistaken.

      Old behaviour:

      1. ls -la /var/lib/jenkins/jobs/foo/lastSuccessful
        lrwxrwxrwx 1 jenkins nogroup 26 Feb 1 22:00 /var/lib/jenkins/jobs/foo/lastSuccessful -> builds/2013-02-01_22-00-34/

      New behaviour:

      1. ls -la /var/lib/jenkins/jobs/foo/lastSuccessful
        lrwxrwxrwx 1 jenkins nogroup 26 Apr 3 07:02 /var/lib/jenkins/jobs/foo/lastSuccessful -> builds/lastSuccessfulBuild/

      People using the target's name of the symlink (like "2013-02-01_22-00-34" in my example) inside scripts for further processing might have broken scripts due to that change.

      Could someone please confirm this change and the reason for that change?

        Attachments

          Issue Links

            Activity

            mika Michael Prokop created issue -
            kutzi kutzi made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-16089 [ JENKINS-16089 ]
            kutzi kutzi made changes -
            Priority Major [ 3 ] Minor [ 4 ]
            kutzi kutzi made changes -
            Resolution Not A Defect [ 7 ]
            Status Open [ 1 ] Resolved [ 5 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 148624 ] JNJira + In-Review [ 192804 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mika Michael Prokop
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: