-
Bug
-
Resolution: Fixed
-
Critical
-
None
I have had lots of great success with this plugin . . . thank you so much.
I have a Jenkins instance where the option "Build Record Root Directory" has been set (Jenkins->Config->Advanced right under Jenkins Root).
So JENKINS_HOME is under C:\Program Files, but the build records are under C:\jenkins . . . see error messages below.
In this case, the plugin is throwing the following error for all jobs:
ERROR: Publisher org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder aborted due to exception
java.lang.IllegalArgumentException: Err ! File [C:\jenkins\fmerrow3\Update Robo CSPECs\builds\2013-10-10_14-06-37\build.xml] seems not to reside in [C:\Program Files (x86)\Jenkins] !
at hudson.plugins.scm_sync_configuration.JenkinsFilesHelper.buildPathRelativeToHudsonRoot(JenkinsFilesHelper.java:12)
at hudson.plugins.scm_sync_configuration.strategies.model.PatternsEntityMatcher.matches(PatternsEntityMatcher.java:25)
- is related to
-
JENKINS-13593 Seems to not handle having builds in seperate folder
-
- Closed
-
Now having the same issue under Linux . . . as before Build Record Root Directory has been changed by the user:
ERROR: Publisher org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder aborted due to exception
java.lang.IllegalArgumentException: Err ! File [/local/jenkins/MPSS.DI.3.0.r1-auto/builds/2014-02-13_01-30-21/build.xml] seems not to reside in [/var/lib/jenkins] !
User's Build Record Root Directory setting is: /local/jenkins/${ITEM_FULL_NAME}/builds