-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins 2.60
filesystem scm-plugin 2.0
Jenkins Master and slave : Windows 7 Professional ServicePack 1
I have a single repo with multiple projects in it. In order to check out only once the big repo and then subsequently check out smaller parts of the big repo i use the filesystem scm-plugin.
When my jobs stay on the master everything works fine. When moving jobs ( and the checkout) to a slave with a job like this:
def fileSCM = filesystem(clearWorkspace: false, copyHidden: false, path: 'c:\\hudson\\jobs\\UFM6-git\\jobs\\UFM6_Multibranch\\branches\\WindowsExecu.2a1m4b.ble-Firmware\\workspace\\ufm\\webHMI') // Path to folder on Master node('buildserver-2'){ // buildserver-2 is a Jenkins slave stage('Checkout '){ checkout fileSCM } }
I get the following printout:
Running on buildserver-2 in c:\jenkins\workspace\UFM6-git\BRANCH_WindowsExecutable_Firmware\HMI
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout )
[Pipeline] checkout
FSSCM.checkout c:\hudson\jobs\UFM6-git\jobs\UFM6_Multibranch\branches\WindowsExecu.2a1m4b.ble-Firmware\workspace\ufm\webHMI to c:\jenkins\workspace\UFM6-git\BRANCH_WindowsExecutable_Firmware\HMI
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
java.lang.IllegalArgumentException: Parameter 'directory' is not a directory
at org.apache.commons.io.FileUtils.validateListFilesParameters(FileUtils.java:545)
at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:521)
at org.apache.commons.io.FileUtils.iterateFiles(FileUtils.java:628)
at hudson.plugins.filesystem_scm.FolderDiff.getNewOrModifiedFiles(FolderDiff.java:116)
at hudson.plugins.filesystem_scm.RemoteFolderDiff$CheckOut.invoke(RemoteFolderDiff.java:95)
at hudson.plugins.filesystem_scm.RemoteFolderDiff$CheckOut.invoke(RemoteFolderDiff.java:88)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2739)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:336)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1$1.run(Engine.java:94)
at java.lang.Thread.run(Unknown Source)
at ......remote call to JNLP4-connect connection from buildserver-2.audi.audi/192.168.0.163:54478(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
at hudson.remoting.Channel.call(Channel.java:830)
at hudson.FilePath.act(FilePath.java:986)
at hudson.FilePath.act(FilePath.java:975)
at hudson.plugins.filesystem_scm.FSSCM.checkout(FSSCM.java:194)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75)
at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
at hudson.security.ACL.impersonate(ACL.java:260)
at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Finished: FAILURE
- is related to
-
JENKINS-49560 FSSCM does not work with “checkout scm” on agent
- Open