hide pip output
This commit is contained in:
parent
fcdfd667bd
commit
bd5c39c595
@ -13,5 +13,7 @@ steps:
|
||||
SLACK_HOOK_URL:
|
||||
from_secret: slack_hook_url
|
||||
commands:
|
||||
- pip install requests
|
||||
# only display pip output if command failed
|
||||
- INSTALL_OUTPUT=$(pip install requests) | true # we don't want to stop execution quite yet
|
||||
- if [[ ${PIPESTATUS[0]} > 0 ]]; then echo "$INSTALL_OUTPUT"; exit 1; fi # NOW we stop
|
||||
- python bot.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user