<< Back to previous view

[QB-2044] Fetch input files fails to fetch the files from a workspace where the last segment is only known during the build
Created: 05/May/14  Updated: 06/May/14

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: 5.1.22
Fix Version/s: None

Type: Bug Priority: Major
Reporter: AlSt Assigned To: Robin Shen
Resolution: Won't Fix Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 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

 Comments   
Comment by Robin Shen [ 06/May/14 05:28 AM ]
Workspace calculation should not depend on variables whose value is determined while running the build, as QB may need to do something in the workspace before running steps. Violating this not only cause issue described here, but can also cause other potential issues.
Generated at Thu May 16 20:41:17 UTC 2024 using JIRA 189.