Unverified Commit 3a6d1372 authored by Guoxin's avatar Guoxin Committed by GitHub
Browse files

Merge pull request #1417 from chicm-ms/fix-pipeline

Fix pipeline issue that it check  only exit code of last command in a script.
parents 1fee1663 926e73ae
...@@ -50,6 +50,7 @@ jobs: ...@@ -50,6 +50,7 @@ jobs:
displayName: 'Install dependencies for integration tests in PAI mode' displayName: 'Install dependencies for integration tests in PAI mode'
- script: | - script: |
set -e
if [ $(build_docker_img) = 'true' ] if [ $(build_docker_img) = 'true' ]
then then
cd deployment/pypi cd deployment/pypi
......
...@@ -48,6 +48,7 @@ jobs: ...@@ -48,6 +48,7 @@ jobs:
cat test/port cat test/port
displayName: 'Get docker port' displayName: 'Get docker port'
- script: | - script: |
set -e
cd test cd test
python3 generate_ts_config.py --ts remote --remote_user $(docker_user) --remote_host $(remote_host) \ python3 generate_ts_config.py --ts remote --remote_user $(docker_user) --remote_host $(remote_host) \
--remote_port $(cat port) --remote_pwd $(docker_pwd) --nni_manager_ip $(nni_manager_ip) --remote_port $(cat port) --remote_pwd $(docker_pwd) --nni_manager_ip $(nni_manager_ip)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment