Skip to content

Commit

Permalink
Fix condition error in script
Browse files Browse the repository at this point in the history
  • Loading branch information
xumia committed Jul 13, 2021
1 parent e31c8ba commit 45bd757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ stages:
target_branch=$(System.PullRequest.TargetBranch)
compare_branch=origin/${target_branch#refs/heads/}
diff-cover coverage.xml --compare-branch=$compare_branch
condition: eq($(Build.Reason), 'PullRequest')
condition: eq(variables['Build.Reason'], 'PullRequest')
displayName: "Print PR diff coverage"
- publish: $(Build.ArtifactStagingDirectory)
artifact: sonic-py-swsssdk
Expand Down

0 comments on commit 45bd757

Please sign in to comment.