Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liushilongbuaa committed Apr 26, 2024
1 parent 24d440f commit 2e64861
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion azurepipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,20 @@ trigger:
pr:
branches:
include:
- "*"

variables:
- name: BUILD_BRANCH
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
value: $(System.PullRequest.TargetBranch)
${{ else }}:
value: $(Build.SourceBranchName) - "*"

jobs:
- job: Build
pool:
vmImage: ubuntu-20.04
container:
image: sonicdev-microsoft.azurecr.io:443/sonic-slave-buster:$(BUILD_BRANCH)

variables:
DIFF_COVER_CHECK_THRESHOLD: 80
Expand Down

0 comments on commit 2e64861

Please sign in to comment.