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

Key: QB-3603
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: Martin Falkner
Votes: 0
Watchers: 0

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


Created: 23/Jul/20 10:21 AM   Updated: 23/Jul/20 10:49 PM
Component/s: None
Affects Version/s: 10.0.17
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows

 Description  « Hide
Within a step, I've got a repeat step that is suppose to iterate over all files in a certain directory.
However, this directory and files are created during the build and are not available when starting the configuration.
I've found now, that this step is already evaluated while running the master step instead of the current step, resulting either in an error, as the directory does not exist yet or empty loop as the files do not exist yet.
Maybe this is as per design but not what I expect from this loop parameter.

Error in master step (where the 'repeating' step is a child)
master @ machine:8811 /xxx/dev/yyy/DailyBuild/App does not exist.
11:56:06,119 ERROR - Step 'master' is failed.
    /xxx/dev/yyy/DailyBuild/App does not exist.

Step (at this point, the directory will exist):
Composition > Sequential
Repeat Parameters:
Files and directories matching specific patterns
Source Directory: xxx/dev/yyy/DailyBuild/App
Files to Match: *.cab
Include Directories: not ticked
Include Files: ticked
Use Relative Path: ticked

 All   Comments   Work Log   Change History      Sort Order:
Martin Falkner [23/Jul/20 10:25 AM]
Ok, just seen the note on this step. the behavior is as specified.
I suppose I just need to wrap it with an additional a parent step to get my desired result.

Martin Falkner [23/Jul/20 10:30 AM]
Ok, seems to work, sorry for reporting this.