0
votes

I have trigger in azure-pipelines.yaml like below.

resources:
    repositories:
        - repository: APPLICATION
          type: git
          name: AAA/APPLICATION
          ref: master
        - repository: TESTS
          type: git
          name: AAA/TESTS
          ref: master
STAGES:
  - stage : BuildApplication
    // checkout branch & build necessary things
  - stage : BuildTests
    // checkout branch & build necessary things

Since the yaml resides in Application repository, While creating manual CI build I am able to select the Branches in Application repository & for Tests repository the branch checkout will be master always.

is there any was I can able to set the branch details of Tests repository before creating release ?