Skip to content
Merged
Changes from all commits
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
45 changes: 23 additions & 22 deletions eng/pipelines/aggregate-reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,30 +76,31 @@ jobs:
displayName: 'Publish Security Analysis Logs'
condition: succeededOrFailed()

- job: 'RushUpdate'
variables:
- template: /eng/pipelines/templates/variables/globals.yml
- ${{ if eq(variables['Build.Reason'], 'Schedule') }}:
- job: 'RushUpdate'
variables:
- template: /eng/pipelines/templates/variables/globals.yml

pool:
name: azsdk-pool-mms-ubuntu-1804-general
vmImage: MMSUbuntu18.04
pool:
name: azsdk-pool-mms-ubuntu-1804-general
vmImage: MMSUbuntu18.04

steps:
- template: /eng/pipelines/templates/steps/common.yml
steps:
- template: /eng/pipelines/templates/steps/common.yml

- template: /eng/common/pipelines/templates/steps/set-default-branch.yml
- template: /eng/common/pipelines/templates/steps/set-default-branch.yml

- script: |
node common/scripts/install-run-rush.js install
node common/scripts/install-run-rush.js update --recheck
displayName: "Run Rush Update"
- script: |
node common/scripts/install-run-rush.js install
node common/scripts/install-run-rush.js update --recheck
displayName: "Run Rush Update"

- template: /eng/common/pipelines/templates/steps/create-pull-request.yml
parameters:
RepoName: azure-sdk-for-js
BaseBranchName: $(DefaultBranch)
PRBranchName: automated-rush-update
CommitMsg: "Automatic rush update recheck"
PRTitle: "Automatic rush update"
PRBody: "Automatic rush update PR"
PushArgs: "-f"
- template: /eng/common/pipelines/templates/steps/create-pull-request.yml
parameters:
RepoName: azure-sdk-for-js
BaseBranchName: $(DefaultBranch)
PRBranchName: automated-rush-update
CommitMsg: "Automatic rush update recheck"
PRTitle: "Automatic rush update"
PRBody: "Automatic rush update PR"
PushArgs: "-f"