[JIRA] (JENKINS-56132) File System SCM should allow passing of build parameters
Title: Message Title Daniel Wamara closed an issue as Duplicate Jenkins / JENKINS-56132 File System SCM should allow passing of build parameters Change By: Daniel Wamara Status: Open Closed Resolution: Duplicate Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56132) File System SCM should allow passing of build parameters
Title: Message Title Daniel Wamara created an issue Jenkins / JENKINS-56132 File System SCM should allow passing of build parameters Issue Type: Improvement Assignee: Unassigned Components: filesystem_scm-plugin Created: 2019-02-13 20:15 Environment: Jenkins ver. 2.150.2 File System SCM Priority: Minor Reporter: Daniel Wamara It should be possible to dynamically set the path of the File system SCM by passing the value of a build parameter. For the moment, following exception is thrown ($SERVICE contains the value of a choice parameter) Building in workspace /Volumes/Data/dwamara/.jenkins/workspace/inzo24-2-docker-build-2 FSSCM.checkout /Volumes/Work/projets/inzo24/$SERVICE to /Volumes/Data/dwamara/.jenkins/workspace/inzo24-2-docker-build-2 FATAL: Parameter 'directory' is not a directory 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:130) 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.act(FilePath.java:1078) at hudson.FilePath.act(FilePath.java:1061) at hudson.plugins.filesystem_scm.FSSCM.checkout(FSSCM.java:215) at hudson.scm.SCM.checkout(SCM.java:504) at hudson.model.AbstractProject.checkout(AbstractProject.java:1208) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson