Merge "Add job to cleanup cicd stacks and keypairs"
[infra/cicd.git] / jjb / onap / verify-jobs.sh
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 "----------------------------------------------------"
9 $JAVA_HOME/bin/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 "----------------------------------------------------"
19 $MVN clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn