Skip to content

Commit

Permalink
Merge pull request #1417 from chicm-ms/fix-pipeline
Browse files Browse the repository at this point in the history
Fix pipeline issue that it check  only exit code of last command in a script.
  • Loading branch information
suiguoxin committed Aug 6, 2019
2 parents 1fee166 + 926e73a commit 3a6d137
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/pipelines-it-pai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
displayName: 'Install dependencies for integration tests in PAI mode'
- script: |
set -e
if [ $(build_docker_img) = 'true' ]
then
cd deployment/pypi
Expand Down
1 change: 1 addition & 0 deletions test/pipelines-it-remote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
cat test/port
displayName: 'Get docker port'
- script: |
set -e
cd test
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)
Expand Down

0 comments on commit 3a6d137

Please sign in to comment.