diff --git a/deploy.sh b/deploy.sh index c6ee2f80b9..f335684425 100755 --- a/deploy.sh +++ b/deploy.sh @@ -27,8 +27,7 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # OF THE POSSIBILITY OF SUCH DAMAGE. -set -e -set -x +set -ex cd $(dirname $0) cp /code/home/assets/rultor/settings.xml . diff --git a/src/main/resources/com/rultor/agents/req/deploy.sh b/src/main/resources/com/rultor/agents/req/deploy.sh index d4ec82d4d1..a0ad77dc2c 100644 --- a/src/main/resources/com/rultor/agents/req/deploy.sh +++ b/src/main/resources/com/rultor/agents/req/deploy.sh @@ -27,6 +27,7 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # OF THE POSSIBILITY OF SUCH DAMAGE. +set -ex cd repo docker_when_possible diff --git a/src/main/resources/com/rultor/agents/req/merge.sh b/src/main/resources/com/rultor/agents/req/merge.sh index 4b9503bfc2..7356b3e7fd 100644 --- a/src/main/resources/com/rultor/agents/req/merge.sh +++ b/src/main/resources/com/rultor/agents/req/merge.sh @@ -27,6 +27,8 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # OF THE POSSIBILITY OF SUCH DAMAGE. +set -ex + cd repo git remote add fork "${fork}" git remote update diff --git a/src/main/resources/com/rultor/agents/req/release.sh b/src/main/resources/com/rultor/agents/req/release.sh index 31b422073f..67848bdddd 100644 --- a/src/main/resources/com/rultor/agents/req/release.sh +++ b/src/main/resources/com/rultor/agents/req/release.sh @@ -27,6 +27,8 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # OF THE POSSIBILITY OF SUCH DAMAGE. +set -ex + if [ -z "${tag}" ]; then echo "tag name is not provided in the request, see http://doc.rultor.com/basics.html" exit -1