| << Back to previous view |
[QB-4268] Stream Checkout Error in QuickBuild
|
|
| Status: | Open |
| Project: | QuickBuild |
| Component/s: | None |
| Affects Version/s: | 15.0.37 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Phong Trinh | Assigned To: | Robin Shen |
| Resolution: | Unresolved | Votes: | 0 |
| Remaining Estimate: | Unknown | Time Spent: | Unknown |
| Original Estimate: | Unknown | ||
| 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 |
| Comments |
| Comment by Robin Shen [ 23/Apr/26 11:20 AM ] |
| Do you mean you have two checkout steps checking out from these two repositories respectively? What do you mean "base condition of the step"? I think QB step does not have such property. |
| Comment by Phong Trinh [ 24/Apr/26 02:03 AM ] |
|
Sorry for the confusion.
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. |