Add cleanup step

This commit is contained in:
Changming Sun 2019-10-29 19:18:13 -07:00
parent 002d9c335b
commit 138a7f194e
12 changed files with 34 additions and 0 deletions

View file

@ -22,6 +22,8 @@ jobs:
copy $(Build.SourcesDirectory)\csharp\src\Microsoft.ML.OnnxRuntime\bin\RelWithDebInfo\*.nupkg $(Build.ArtifactStagingDirectory)
- job: 'Linux_CI_Dev'
workspace:
clean: all
pool: $(AgentPoolLinux)
steps:
- template: ../../templates/set-version-number-variables-step.yml
@ -86,6 +88,8 @@ jobs:
cd $cwd
- job: NuGet_Packaging
workspace:
clean: all
pool: $(AgentPoolWin)
dependsOn:
- Windows_CI_Dev

View file

@ -59,6 +59,8 @@ jobs:
copy *.zip $(Build.ArtifactStagingDirectory)
- job: 'Linux_CI_Dev'
workspace:
clean: all
pool: $(AgentPoolLinux)
steps:
- template: ../../templates/set-version-number-variables-step.yml
@ -113,6 +115,8 @@ jobs:
cd $cwd
- job: NuGet_Packaging
workspace:
clean: all
pool: $(AgentPoolWin)
dependsOn:
- Windows_CI_Dev

View file

@ -38,6 +38,8 @@ jobs:
copy $(Build.SourcesDirectory)\csharp\src\Microsoft.ML.OnnxRuntime\bin\RelWithDebInfo\*zip $(Build.ArtifactStagingDirectory)
- job: 'Linux_CI_Dev'
workspace:
clean: all
pool: $(AgentPoolLinux)
steps:
- template: ../../templates/set-version-number-variables-step.yml
@ -92,6 +94,8 @@ jobs:
cd $cwd
- job: NuGet_Packaging
workspace:
clean: all
pool: $(AgentPoolWin)
dependsOn:
- Windows_CI_Dev

View file

@ -39,6 +39,8 @@ jobs:
copy $(Build.SourcesDirectory)\csharp\src\Microsoft.ML.OnnxRuntime\bin\RelWithDebInfo\*zip $(Build.ArtifactStagingDirectory)
- job: 'Linux_CI_Dev'
workspace:
clean: all
pool: $(AgentPoolLinux)
steps:
- template: ../../templates/set-version-number-variables-step.yml
@ -93,6 +95,8 @@ jobs:
cd $cwd
- job: NuGet_Packaging
workspace:
clean: all
pool: $(AgentPoolWin)
dependsOn:
- Windows_CI_Dev
@ -148,6 +152,8 @@ jobs:
- template: test_all_os.yml
- job: Publish_NuGet_Package_And_Report
workspace:
clean: all
variables:
- group: Dashboard_MySQL_Secret
pool:

View file

@ -4,6 +4,8 @@ parameters:
jobs:
- job: NuGet_Test_Linux
workspace:
clean: all
pool: ${{ parameters.AgentPool }}
dependsOn:
- NuGet_Packaging

View file

@ -3,6 +3,8 @@ parameters:
jobs:
- job: NuGet_Test_MacOS
workspace:
clean: all
pool: ${{ parameters.AgentPool }}
dependsOn:
- NuGet_Packaging

View file

@ -3,6 +3,8 @@ parameters:
jobs:
- job: NuGet_Test_Win
workspace:
clean: all
pool: ${{ parameters.AgentPool }}
dependsOn:
- NuGet_Packaging

View file

@ -9,6 +9,8 @@ parameters:
jobs:
- job: ${{ parameters.JobName }}
workspace:
clean: all
timeoutInMinutes: ${{ parameters.TimeoutInMinutes }}
pool: ${{ parameters.AgentPool }}
steps:

View file

@ -7,6 +7,8 @@ parameters:
jobs:
- job: ${{ parameters.JobName }}
workspace:
clean: all
pool: ${{ parameters.AgentPool }}
variables:
BuildCommand: ${{ parameters.BuildCommand }}

View file

@ -15,6 +15,8 @@ parameters:
jobs:
- job: ${{ parameters.JobName }}
workspace:
clean: all
timeoutInMinutes: 120
pool: ${{ parameters.AgentPool }}
variables:

View file

@ -19,6 +19,8 @@ parameters:
jobs:
- job: ${{ parameters.JobName }}
timeoutInMinutes: 120
workspace:
clean: all
pool:
name: ${{ parameters.AgentPool }}
demands: ${{ parameters.AgentDemands }}

View file

@ -10,6 +10,8 @@ parameters:
jobs:
- job: ${{ parameters.JobName }}
workspace:
clean: all
timeoutInMinutes: 120
pool: ${{ parameters.AgentPool }}
variables: