mirror of
https://gitee.com/jack_whh/ssh-scp-ssh-pipelines.git
synced 2026-03-09 22:42:55 +08:00
feat: exit 1 if app.py exited 1
This commit is contained in:
committed by
GitHub
parent
a6548c1a21
commit
3d97e5b8eb
@@ -3,5 +3,8 @@
|
|||||||
echo "+++++++++++++++++++STARTING PIPELINES+++++++++++++++++++"
|
echo "+++++++++++++++++++STARTING PIPELINES+++++++++++++++++++"
|
||||||
|
|
||||||
python3 /opt/tools/app.py
|
python3 /opt/tools/app.py
|
||||||
|
RET = $?
|
||||||
|
|
||||||
echo "+++++++++++++++++++END PIPELINES+++++++++++++++++++"
|
echo "+++++++++++++++++++END PIPELINES+++++++++++++++++++"
|
||||||
|
|
||||||
|
exit $RET
|
||||||
|
|||||||
Reference in New Issue
Block a user