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

SCM Sync configuration plugin causes errors when Home directory != Workspace Root Directory

    XMLWordPrintable

    Details

    • Similar Issues:

      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.

        Attachments

          Issue Links

            Activity

            Hide
            peteboyrocket Pete W added a comment -

            I think this is the same issue

            Show
            peteboyrocket Pete W added a comment - I think this is the same issue
            Hide
            rodrigc Craig Rodrigues added a comment -

            Cannot reproduce in 0.0.9

            Show
            rodrigc Craig Rodrigues added a comment - Cannot reproduce in 0.0.9

              People

              • Assignee:
                fcamblor Frédéric Camblor
                Reporter:
                pitr Piotr Kral
              • Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: