Fatih Degirmenci | ef57dbc | 2018-10-22 13:14:34 +0200 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | set -o errexit |
| 3 | set -o nounset |
| 4 | set -o pipefail |
| 5 | |
Fatih Degirmenci | d1f707e | 2018-10-22 23:33:24 +0200 | [diff] [blame] | 6 | cd $WORKSPACE |
| 7 | echo "Info: Java version" |
| 8 | echo "----------------------------------------------------" |
| 9 | java -version |
| 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 "----------------------------------------------------" |
Conor Ward | dfbb40b | 2018-11-21 16:52:54 +0000 | [diff] [blame] | 19 | $MVN clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn |