You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2021/10/21 20:29:25 UTC
[incubator-mxnet] branch master updated: [master][bugfix] Remove
exit 0 to avoid blocking in CI pipeline (#20683)
This is an automated email from the ASF dual-hosted git repository.
zhasheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 5d247f1 [master][bugfix] Remove exit 0 to avoid blocking in CI pipeline (#20683)
5d247f1 is described below
commit 5d247f13fcf5e55b094c5deb90ede1d3a03cc9ac
Author: mozga <ma...@intel.com>
AuthorDate: Thu Oct 21 22:27:13 2021 +0200
[master][bugfix] Remove exit 0 to avoid blocking in CI pipeline (#20683)
* Remove exit 0 to avoid stop CIs
* Return instead of exit 0, to avoid exit code
* Exit 1 is keet
---
ci/docker/runtime_functions.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ci/docker/runtime_functions.sh b/ci/docker/runtime_functions.sh
index 84b5601..392d54b 100755
--- a/ci/docker/runtime_functions.sh
+++ b/ci/docker/runtime_functions.sh
@@ -740,7 +740,7 @@ sanity_clang() {
GIT_DIFFERENCE=$(git diff)
if [[ -z $GIT_DIFFERENCE ]]; then
git remote remove "${GITHUB_RUN_ID}" # temporary remote is removed
- exit 0
+ return
fi
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"