Hi, I installed Jenkins as a WAR on Tomcat 6, running on Linux …
[davea@ip-22-333-22-333 ~]$ uname -a
Linux ip-22-333-22-333 6.8.7-15.99.amzn1.x86_64 #1 SMP Mon Sep 14 23:20:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
I have created a freestanding job, using the Gradle plugin. “Discard Old Builds” is checked and “Days To Keep Builds” is set to “3”. I notice often that this symlink …
[davea@ip-22-333-22-333 ~]$ ls -al /var/lib/tomcat6/webapps/jenkins/jobs/myproject/builds/lastUnstableBuild
lrwxrwxrwx 1 tomcat tomcat 2 Nov 9 22:20 /var/lib/tomcat6/webapps/jenkins/jobs/myproject/builds/lastUnstableBuild -> -1
is created and points at “-1”, which doesn’t exist as a file or directory. How does this symlink get generated and is there a way to prevent it from pointing to this bogus value?