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

builds/lastSuccessfulBuild symlink is not created

XMLWordPrintable

      Build does not create the respective lastSuccess and lastStable symlinks i the build folder:

      drwxr-xr-x. 3 jenkins jenkins 64 Apr 12 13:07 builds
      lrwxrwxrwx. 1 jenkins jenkins 22 Apr 12 13:05 lastStable -> builds/lastStableBuild
      lrwxrwxrwx. 1 jenkins jenkins 26 Apr 12 13:05 lastSuccessful -> builds/lastSuccessfulBuild
      rw-rr-. 1 jenkins jenkins 2 Apr 12 13:05 nextBuildNumber
      drwxr-xr-x. 26 jenkins jenkins 4.0K Apr 12 13:06 workspace

      drwxr-xr-x. 3 jenkins jenkins 64 Apr 12 13:07 .
      drwxr-xr-x. 4 jenkins jenkins 95 Apr 12 13:05 ..
      drwxr-xr-x. 3 jenkins jenkins 92 Apr 12 13:07 1
      lrwxrwxrwx. 1 jenkins jenkins 1 Apr 12 13:07 lastFailedBuild -> 1
      lrwxrwxrwx. 1 jenkins jenkins 1 Apr 12 13:07 lastUnsuccessfulBuild -> 1

       

      Already added the 

      JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true -Dhudson.Util.symlinkEscapeHatch=true"

      to /etc/sysconfig/jenkins file and restartet

       

      Also purged build history and deleted the respective job folder

            vjuranek vjuranek
            mruepp Michael Ruepp
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: