-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
It's fails both Linux and windows
SCM Sync configuration plugin causes errors when Home directory != Workspace Root Directory.
For example at windows I have:
Home directory C:\Program Files (x86)\Jenkins
Workspace Root Directory C:/Jenkins/${ITEM_FULLNAME}/workspace
When the plugin is enabled and I wont to Edit Build Information I get error:
Exception: java.lang.IllegalArgumentException: Err ! File [C:\Jenkins\Farm Monitor\builds\2013-05-22_11-52-09\build.xml] seems not to reside in [C:\Program Files (x86)\Jenkins] !
Stacktrace:
javax.servlet.ServletException: java.lang.IllegalArgumentException: Err ! File [C:\Jenkins\Farm Monitor\builds\2013-05-22_11-52-09\build.xml] seems not to reside in [C:\Program Files (x86)\Jenkins] !
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:719)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384)
.....
It looks like Jenkins was looking for files at $Home directory instead off Workspace Root Directory. The error occurs but the build information stays. It also occurs in other places when I'm writing a comment. Today i wasn't able to run build because in the middle of Clear Case operations I've got the error. The solution to fix this it either to disable/remove SCM plugin or Install Jenkins in the same directory as Workspace Root Directory.
- is duplicated by
-
JENKINS-13593 Seems to not handle having builds in seperate folder
-
- Closed
-
- is related to
-
JENKINS-14329 SCM Sync Configuration plugin conflicts with Parameterized Trigger plugin. (stuck on waiting for the completion of OtherBuild)
-
- Closed
-
I think this is the same issue