
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 23/Apr/26 03:01 AM
Updated: 24/Apr/26 02:03 AM
|
|
| Component/s: |
None
|
| Affects Version/s: |
15.0.37
|
| Fix Version/s: |
None
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
|
Hi support team,
I have 2 repositories setting in QuickBuild one is for Perforce stream, the other is for Perforce branch. base condition of the step it checkout stream repository or branch repository. However, i got error "Command error output Stream //depot/streamName unknown - use stream command to create it" Any suggestion is appreciated.
ptrinh
|
|
Description
|
Hi support team,
I have 2 repositories setting in QuickBuild one is for Perforce stream, the other is for Perforce branch. base condition of the step it checkout stream repository or branch repository. However, i got error "Command error output Stream //depot/streamName unknown - use stream command to create it" Any suggestion is appreciated.
ptrinh |
Show » |
|
Repository settings:
P4_Stream
Client Specification: Create client based on Specified stream
Stream: ${vars.getValue("PerforcePath")}
P4_Branch
Client Specification: Input client specification
View: ${vars.getValue("PerforcePath")}/... //client/...
I have two checkout steps checking out from these two repositories respectively.
Checkout Stream (Repository = P4_Stream)
Checkout Branch (Repository = P4_Branch)
The user provides input for PerforcePath. The process evaluates whether the input corresponds to a stream or a branch and set variable isStream = true or false
Checkout Stream is executed when isStream = true (execute condition)
Checkout Branch is executed when isStream = false(execute condition)
However, I get the error even isStream = false
I figured out the issue. By default, the configuration takes snapshots for all referenced repositories which caused invalid path. If the Perforce path is branch, the path of stream is invalid. I made an adjustment and no longer have the error. However, i am looking into a script to take snapshot of respective repository.