Skip to content

Commit

Permalink
Merge pull request #994 from microsoft/miguel/nightly_continue_on_error
Browse files Browse the repository at this point in the history
force to remove the conda env always in the nightly builds
  • Loading branch information
miguelgfierro authored Dec 4, 2019
2 parents 7e6e1bf + 86aa40f commit 63a331d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/ci/azure_pipeline_test/dsvm_nightly_linux_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ jobs:
workingDirectory: tests
displayName: 'Conda remove'
continueOnError: true
condition: succeededOrFailed()
condition: always() # this step will always run, even if the pipeline is canceled
2 changes: 1 addition & 1 deletion tests/ci/azure_pipeline_test/dsvm_nightly_linux_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ jobs:
workingDirectory: tests
displayName: 'Conda remove'
continueOnError: true
condition: succeededOrFailed()
condition: always() # this step will always run, even if the pipeline is canceled
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ jobs:
workingDirectory: tests
displayName: 'Conda remove'
continueOnError: true
condition: succeededOrFailed()
condition: always() # this step will always run, even if the pipeline is canceled
4 changes: 2 additions & 2 deletions tests/ci/azure_pipeline_test/dsvm_nightly_win_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ jobs:

- script: |
call conda env remove -n nightly_reco_base -y
rmdir /s /q C:\Anaconda\envs\nightly_reco_base
if exist C:\Anaconda\envs\nightly_reco_base rmdir /s /q C:\Anaconda\envs\nightly_reco_base
workingDirectory: tests
displayName: 'Conda remove'
continueOnError: true
condition: succeededOrFailed()
condition: always() # this step will always run, even if the pipeline is canceled
- script: |
del /q /S %LOCALAPPDATA%\Temp\*
Expand Down
3 changes: 2 additions & 1 deletion tests/ci/azure_pipeline_test/dsvm_nightly_win_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ jobs:

- script: |
call conda env remove -n nightly_reco_gpu -y
rmdir /s /q C:\Anaconda\envs\nightly_reco_gpu
if exist C:\Anaconda\envs\nightly_reco_gpu rmdir /s /q C:\Anaconda\envs\nightly_reco_gpu
workingDirectory: tests
displayName: 'Conda remove'
continueOnError: true
condition: always() # this step will always run, even if the pipeline is canceled
4 changes: 2 additions & 2 deletions tests/ci/azure_pipeline_test/dsvm_nightly_win_pyspark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ jobs:

- script: |
call conda env remove -n nightly_reco_pyspark -y
rmdir /s /q C:\Anaconda\envs\nightly_reco_pyspark
if exist C:\Anaconda\envs\nightly_reco_pyspark rmdir /s /q C:\Anaconda\envs\nightly_reco_pyspark
workingDirectory: tests
displayName: 'Conda remove'
continueOnError: true
condition: succeededOrFailed()
condition: always() # this step will always run, even if the pipeline is canceled

0 comments on commit 63a331d

Please sign in to comment.