Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

Disable application re-submit

We have a situation when our application fails to deploy on the first attempt. In this case Gigaspaces tries to redeploy it,exiting from gs.sh script with status 0.

This makes normally pass our deployment orchestrator, what is kinda wrong.

How can I disable re-submission and return non-zero status code in this case to fail the build?

asked 2015-03-06 06:44:02 -0500

Vlad Slepukhin gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

Currently You can add listener to pu state using admin api,and if you see that after waiting a while status of this pu is broken ,then fail your script.

answered 2015-03-08 08:09:58 -0500

Ester gravatar image
edit flag offensive delete link more


So, I start deploying my application with gs.sh, detach from it and run my listener. Is this the sort of correct way?

Vlad Slepukhin gravatar imageVlad Slepukhin ( 2015-03-08 08:13:58 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-03-06 06:44:02 -0500

Seen: 538 times

Last updated: Mar 08 '15