2020-11-12 13:11:56 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
source $(dirname $0)/inc/logger.inc
|
|
|
|
source $(dirname $0)/inc/setup-secrets.inc
|
|
|
|
source $(dirname $0)/inc/regression-tester.inc
|
|
|
|
source ${HOME}/java.env
|
|
|
|
|
|
|
|
set -e
|
|
|
|
#set -x
|
|
|
|
|
2020-11-12 18:57:35 +01:00
|
|
|
#export MAVEN_OPTS="-Dmaven.wagon.httpconnectionManager.ttlSeconds=180 -Dmaven.wagon.http.retryHandler.count=3"
|
2020-11-12 19:15:29 +01:00
|
|
|
#export MAVEN_OPTS="-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false"
|
2020-11-12 18:35:04 +01:00
|
|
|
./mvnw -e -V clean verify
|
2020-11-12 13:11:56 +01:00
|
|
|
|
|
|
|
# Danger is executed only on the linux runner
|
|
|
|
case "$(uname)" in
|
|
|
|
Linux*)
|
|
|
|
log_info "Executing danger..."
|
|
|
|
pmd_ci_setup_env
|
|
|
|
regression_tester_setup_ci
|
|
|
|
regression_tester_executeDanger
|
|
|
|
;;
|
|
|
|
esac
|