Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync eng/common directory with azure-sdk-tools for PR 1553 #18002

Merged
merged 2 commits into from
Apr 13, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix up system access token usage.
  • Loading branch information
mitchdenny authored and azure-sdk committed Apr 13, 2021
commit 635d9e5bf41703e7ea4817e65a2432c526dc9dbd
4 changes: 3 additions & 1 deletion eng/common/pipelines/templates/steps/retain-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ parameters:
steps:
- task: PowerShell@2
displayName: Retain pipeline run
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
inputs:
pwsh: true
filePath: $(Build.SourcesDirectory)/eng/common/scripts/Add-RetentionLease.ps1
Expand All @@ -16,5 +18,5 @@ steps:
-RunId $(Build.BuildId)
-OwnerId Pipeline
-DaysValid ${{parameters.DaysValid}}
-Base64EncodedAuthToken $(System.AccessToken)
-Base64EncodedAuthToken $env:SYSTEM_ACCESSTOKEN
-Debug