History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2044
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: AlSt
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

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 02:17 PM   Updated: 06/May/14 05:28 AM
Component/s: None
Affects Version/s: 5.1.22
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
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

 All   Comments   Work Log   Change History      Sort Order:
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.