pmd/.ci/build-pr.sh
2020-11-13 12:01:28 +01:00

23 lines
455 B
Bash
Executable File

#!/usr/bin/env bash
source $(dirname $0)/inc/logger.inc
source $(dirname $0)/inc/regression-tester.inc
source $(dirname $0)/inc/maven-dependencies.inc
source ${HOME}/java.env
set -e
#set -x
maven_dependencies_resolve
./mvnw -e -V clean verify
# Danger is executed only on the linux runner
case "$(uname)" in
Linux*)
log_info "Executing danger..."
regression_tester_setup_ci
regression_tester_executeDanger
;;
esac