If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
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
|
|
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
|
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
|
Show » |
|
I suppose I just need to wrap it with an additional a parent step to get my desired result.