diff --git a/config/releaser.yml b/config/releaser.yml index 8834407b20..28b930b7b1 100644 --- a/config/releaser.yml +++ b/config/releaser.yml @@ -1 +1 @@ -releaser.maven.buildCommand: ./scripts/buildWithDocs.sh \ No newline at end of file +releaser.maven.buildCommand: ./scripts/noIntegration.sh \ No newline at end of file diff --git a/scripts/fastBuild.sh b/scripts/fastBuild.sh new file mode 100755 index 0000000000..4251e19220 --- /dev/null +++ b/scripts/fastBuild.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +source common.sh || source scripts/common.sh || echo "No common.sh script found..." + +set -e + +[[ -z "${CORES}" ]] && CORES=1 +echo -e "\n\nRUNNING FAST BUILD (NO INTEGRATION TESTS) WITH [${CORES}] CORES\n\n" + +./mvnw clean install -Pdocs,fast -T ${CORES} \ No newline at end of file diff --git a/scripts/noIntegration.sh b/scripts/noIntegration.sh index 4251e19220..ce46fbd90e 100755 --- a/scripts/noIntegration.sh +++ b/scripts/noIntegration.sh @@ -2,9 +2,9 @@ source common.sh || source scripts/common.sh || echo "No common.sh script found..." +FOLDER=`pwd` + set -e -[[ -z "${CORES}" ]] && CORES=1 -echo -e "\n\nRUNNING FAST BUILD (NO INTEGRATION TESTS) WITH [${CORES}] CORES\n\n" - -./mvnw clean install -Pdocs,fast -T ${CORES} \ No newline at end of file +./mvnw clean install +${FOLDER}/scripts/generateDocs.sh \ No newline at end of file