Skip to content

Commit

Permalink
Added a new Extract_PR_Number job to parse the PR number from System.…
Browse files Browse the repository at this point in the history
…PullRequest.SourceBranch
  • Loading branch information
shubhadapaithankar committed Nov 26, 2024
1 parent f52dd92 commit 301a07b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,8 @@ variables:
value: arosvcdev.azurecr.io/e2e
- name: VERSION
value: $(TAG)
- name: PR_NUMBER
value: $[substring(variables['System.PullRequest.SourceBranch'], lastIndexOf(variables['System.PullRequest.SourceBranch'], '/') + 1)]
- name: GIT_COMMIT_SHA
value: $(Build.SourceVersion)
- name: TAG
value: pr-$(PR_NUMBER)-$(GIT_COMMIT_SHA)
value: pr-$(System.PullRequest.PullRequestId)-$(System.PullRequest.SourceCommitId)
- name: ARO_IMAGE
value: arosvcdev.azurecr.io/aro:$(TAG)
- name: ARO_SELENIUM_HOSTNAME
Expand Down

0 comments on commit 301a07b

Please sign in to comment.