Skip to content

Commit

Permalink
AZP/RELEASE: Test
Browse files Browse the repository at this point in the history
  • Loading branch information
yosefe committed Jul 5, 2021
1 parent 632a840 commit a5fdf7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion buildlib/az-distro-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
${{ if eq(variables['Build.Reason'], 'IndividualCI') }}:
POSTFIX: ucx-${{ replace(variables['Build.SourceBranch'], 'refs/tags/', '') }}
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
POSTFIX: ucx-pr
POSTFIX: ucx-pr$(System.PullRequest.PullRequestNumber)

pool:
name: MLNX
Expand Down
5 changes: 1 addition & 4 deletions buildlib/azure-pipelines-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ stages:
jobs:
- job: CheckRelease
variables:
pr_name: ucx-pr${{ variables['System.PullRequest.PullRequestId'] }}
pr_name2: ucx-pr$(System.PullRequest.PullRequestId)
pr_name3: ucx-pr$(System.PullRequestNumber)
pr_name3: ucx-pr$(System.PullRequest.PullRequestNumber)
steps:
- checkout: self
fetchDepth: 100
Expand All @@ -56,14 +55,12 @@ stages:
- bash: |
source ./buildlib/az-helpers.sh
set -x
echo ${PR_NAME}
echo ${PR_NAME2}
echo ${PR_NAME3}
check_release_build $(Build.Reason) $(Build.SourceVersion)
name: Result
displayName: Check build condition
env:
PR_NAME: $(pr_name)
PR_NAME2: $(pr_name2)
PR_NAME3: $(pr_name3)
Expand Down

0 comments on commit a5fdf7d

Please sign in to comment.