Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed docker fail not causing jenkins to fail issue #1167

Merged
merged 1 commit into from Aug 24, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions deploy/packaging/docker/build-rpm/build-rpm.sh
Expand Up @@ -15,6 +15,8 @@

# This script runs with a volume mount to $WORKSPACE, this ensures that any signal failure will leave all of the files $WORKSPACE editable by the host
trap 'chmod -R 777 $WORKSPACE/deploy/packaging/rpm' EXIT
trap 'exit' ERR

# Set a default version
VENDOR_VERSION=apache

Expand Down
1 change: 1 addition & 0 deletions deploy/packaging/docker/build-src/build-geowave-common.sh
Expand Up @@ -15,6 +15,7 @@

# This script runs with a volume mount to $WORKSPACE, this ensures that any signal failure will leave all of the files $WORKSPACE editable by the host
trap 'chmod -R 777 $WORKSPACE' EXIT
trap 'exit' ERR

echo "---------------------------------------------------------------"
echo " Building GeoWave Common"
Expand Down
1 change: 1 addition & 0 deletions deploy/packaging/docker/build-src/build-geowave-vendor.sh
Expand Up @@ -15,6 +15,7 @@

# This script runs with a volume mount to $WORKSPACE, this ensures that any signal failure will leave all of the files $WORKSPACE editable by the host
trap 'chmod -R 777 $WORKSPACE' EXIT
trap 'exit' ERR

GEOWAVE_VERSION=$(mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive -f $WORKSPACE/pom.xml exec:exec | sed -e 's/"//g' -e 's/-SNAPSHOT//g')
# Set a default version
Expand Down
1 change: 1 addition & 0 deletions deploy/packaging/docker/docker-build-rpms.sh
Expand Up @@ -13,6 +13,7 @@
# This script will build and package all of the configurations listed in the BUILD_ARGS_MATRIX array.
#
# Source all our reusable functionality, argument is the location of this script.
trap 'exit' ERR

echo '###### Build Variables'
declare -A ARGS
Expand Down
1 change: 1 addition & 0 deletions deploy/packaging/docker/publish/publish-common-rpm.sh
Expand Up @@ -16,6 +16,7 @@

# This script runs with a volume mount to $WORKSPACE, this ensures that any signal failure will leave all of the files $WORKSPACE editable by the host
trap 'chmod -R 777 $WORKSPACE/deploy/packaging/rpm' EXIT
trap 'exit' ERR

# Get the version
GEOWAVE_VERSION=$(cat $WORKSPACE/deploy/target/version.txt)
Expand Down
1 change: 1 addition & 0 deletions deploy/packaging/docker/publish/publish-vendor-rpm.sh
Expand Up @@ -16,6 +16,7 @@

# This script runs with a volume mount to $WORKSPACE, this ensures that any signal failure will leave all of the files $WORKSPACE editable by the host
trap 'chmod -R 777 $WORKSPACE/deploy/packaging/rpm' EXIT
trap 'exit' ERR

# Get the version
GEOWAVE_VERSION=$(cat $WORKSPACE/deploy/target/version.txt)
Expand Down