Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: plugin
Created: 22/May/13 10:16 AM
Description:

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.

Due Date: 22/May/13 12:00 AM
Environment: It's fails both Linux and windows
Project: Jenkins
Priority: Major Major
Reporter: Piotr Kral
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to