79236333

Date: 2024-11-29 08:36:07
Score: 0.5
Natty:
Report link

Try elseif instead of if in 4th line:

replace

- ${{ if eq(variables['Build.SourceBranchName'], 'branch2') }}: 

with

- ${{ elseif eq(variables['Build.SourceBranchName'], 'branch2') }}: 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: AhmadYo