|
|
|
[
Permlink
| « Hide
]
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.
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. | |||||||||||||||||||||||||||||||||||||||||||||