-
Notifications
You must be signed in to change notification settings - Fork 31
/
clean-up-branches.yml
31 lines (31 loc) · 1.12 KB
/
clean-up-branches.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Clean up branches made to validate Arcade on bellwether repos
jobs:
- template: /eng/common/templates/job/job.yml
parameters:
name: Clean_Up_Arcade_Branches_On_Consumer_Repositories
displayName: Clean Up Arcade Branches On Consumer Repositories
timeoutInMinutes: 240
pool:
vmImage: windows-2019
variables:
- group: Publish-Build-Assets
strategy:
matrix:
CleanUpRuntime:
_azdoRepoName: "dotnet-runtime"
CleanUpASPNETCore:
_azdoRepoName: "dotnet-aspnetcore"
CleanUpInstaller:
_azdoRepoName: "dotnet-installer"
steps:
- checkout: self
clean: true
- powershell: eng\validation\remove-oldbranches.ps1
-azdoOrg "dnceng"
-azdoProject "internal"
-azdoToken $(dn-bot-dotnet-build-rw-code-rw)
-user "dotnet-bot"
-barToken $(MaestroAccessToken)
-azdoRepoName $(_azdoRepoName)
displayName: Clean Up Arcade Branches On Consumer Repositories
name: Clean_Up_Arcade_Branches_On_Consumer_Repositories