We use the same configurations for two different branches and have incremental building in place. I have to fetch the input files on a step which is running on another server, because no input files are found.
workspaceSubDir is not defined initially. It is defined via trigger other builds step.
Fetch input files with empty Source Dir and a filepattern like "somedir/*.xml" (somedir/<files>.xml are generated below the workspaceSubDir in a previous step)
No files will be found. If I add ${vars.getValue("workspaceSubDir")} as Source Dir it works, but as noted in the description below the input field of Source Dir the workspace is assumed, but the workspace contains the workspaceSubDir
Description
We use the same configurations for two different branches and have incremental building in place. I have to fetch the input files on a step which is running on another server, because no input files are found.
How to reproduce:
define configuration workspace as:
<workspacedir>/${configuration.id}/${vars.getValue("workspaceSubDir")}
workspaceSubDir is not defined initially. It is defined via trigger other builds step.
Fetch input files with empty Source Dir and a filepattern like "somedir/*.xml" (somedir/<files>.xml are generated below the workspaceSubDir in a previous step)
No files will be found. If I add ${vars.getValue("workspaceSubDir")} as Source Dir it works, but as noted in the description below the input field of Source Dir the workspace is assumed, but the workspace contains the workspaceSubDir