Skip to content

Commit

Permalink
Stop all scripts on errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Jan 6, 2021
1 parent b69dc6d commit 13c4980
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/clean.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -e

(cd plugin; mvn clean install -Djenkins.test.timeout=1000 || { echo "Build failed"; exit 1; })

$(dirname "$0")/deploy.sh warnings-ng
Expand Down
2 changes: 2 additions & 0 deletions bin/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -e

JENKINS_HOME=../docker/volumes/jenkins-home

echo "Installing plugin ${1} in $JENKINS_HOME"
Expand Down
2 changes: 2 additions & 0 deletions bin/go.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -e

(cd plugin; mvn clean install -DskipITs || { echo "Build failed"; exit 1; })

$(dirname "$0")/deploy.sh warnings-ng
Expand Down
2 changes: 2 additions & 0 deletions bin/skip.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -e

(cd plugin; mvn clean install -Pskip || { echo "Build failed"; exit 1; })

$(dirname "$0")/deploy.sh warnings-ng
Expand Down

0 comments on commit 13c4980

Please sign in to comment.