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

force to remove the conda env always in the nightly builds #994

Merged
merged 1 commit into from
Dec 4, 2019
Merged
Show file tree
Hide file tree
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
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