<< Back to previous view |
[QB-3603] Repeat
|
|
Status: | Closed |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 10.0.17 |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | Martin Falkner | Assigned To: | Robin Shen |
Resolution: | Won't Fix | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown | ||
Environment: | Windows |
Description |
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 |
Comments |
Comment by 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. |
Comment by Martin Falkner [ 23/Jul/20 10:30 AM ] |
Ok, seems to work, sorry for reporting this. |