Fatih Degirmenci | 477ca0f | 2019-03-27 09:40:03 +0100 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | set -o errexit |
| 3 | set -o nounset |
| 4 | set -o pipefail |
| 5 | |
| 6 | cd $WORKSPACE |
| 7 | echo "Info: Java version" |
| 8 | echo "----------------------------------------------------" |
Justin Early | 882e7ba | 2019-09-03 13:27:16 -0700 | [diff] [blame] | 9 | $JAVA_HOME/bin/java -version |
Fatih Degirmenci | 477ca0f | 2019-03-27 09:40:03 +0100 | [diff] [blame] | 10 | echo "----------------------------------------------------" |
| 11 | echo "Downloading Maven $MVN_VERSION from $MVN_URL" |
| 12 | wget -q $MVN_URL && unzip -qq apache-maven-${MVN_VERSION}-bin.zip |
| 13 | echo "Info: Maven version" |
| 14 | echo "----------------------------------------------------" |
| 15 | $MVN -version |
| 16 | echo "----------------------------------------------------" |
| 17 | echo "Proceeding with unit test" |
| 18 | echo "----------------------------------------------------" |
| 19 | $MVN clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn |