microsoft / azure-pipelines-yaml

Azure Pipelines YAML examples, templates, and community interaction
MIT License
1.21k stars 934 forks source link

could find the branch error in azure yaml #591

Open bharuk opened 1 year ago

bharuk commented 1 year ago

trigger: none

resources: webhooks:

variables:

Error:

*2023-05-19T11:26:50.8527286Z 2023-05-19T11:26:50.8528398Z [notice] A new release of pip is available: 22.0.4 -> 23.1.2 2023-05-19T11:26:50.8528762Z [notice] To update, run: pip install --upgrade pip 2023-05-19T11:26:51.0626369Z (HEAD detached at origin/067ee0dbc1fc2b794b155dc4a0937542cc9b2bb4) 2023-05-19T11:26:51.3020235Z [WARNING] Default remote 'origin' does not exist, forcing no fetch 2023-05-19T11:26:51.3021000Z [INFO] Clean up target folder 'srcToDeploy' 2023-05-19T11:26:51.3021838Z [INFO] Extracting metadata types from 'describe.log' 2023-05-19T11:26:51.3022232Z [INFO] Preparing to merge 'feature-version1' into 'develop' 2023-05-19T11:26:51.3022444Z [INFO] Validating branches source and target branches in remote (origin) 2023-05-19T11:26:51.3022752Z [FATAL] Couldn't find branch 'feature-version1', exiting... 2023-05-19T11:26:51.3136660Z ##[debug]Exit code 123 received from tool '/usr/bin/bash' 2023-05-19T11:26:51.3141574Z ##[debug]STDIO streams have closed for tool '/usr/bin/bash' 2023-05-19T11:26:51.3188462Z ##[error]Bash exited with code '123'. 2023-05-19T11:26:51.3194974Z ##[debug]Processed: ##vso[task.issue type=error;]Bash exited with code '123'. 2023-05-19T11:26:51.3195607Z ##[debug]task result: Failed 2023-05-19T11:26:51.3199174Z ##[debug]Processed: ##vso[task.complete result=Failed;done=true;] 2023-05-19T11:26:51.3209331Z ##[section]Finishing: CmdLine**

LiliaSabitova commented 1 year ago

Hi @bharuk, thank you for reporting this. We'll take a look at this issue when we have enough capacity.

bharuk commented 1 year ago

when i am running the pipeline getting error branches b2b-gsp-slfdelta in this repo we have three branches master develop and feature-version1