- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathci-java.sh
More file actions
Latest commit
executable file
·22 lines (19 loc) · 607 Bytes
/
Copy pathci-java.sh
File metadata and controls
executable file
·22 lines (19 loc) · 607 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set -e
set -o pipefail
CWD=$WORKSPACE:${CWD:=$PWD}
if [ "$#"-lt 2 ] ;then
echo'Parameters PLATFORM and APPLICATION are required'
exit 1
fi
PLATFORM=$1
APPLICATION=$2
CLOUDFIER_USER=${3:-test}
BASE_APPLICATION_PATH=${4:-/cloudfier-examples/}
echo">\n>\n>\n>\n"
echo"*** Generating code for - $APPLICATION"
./gen.sh $PLATFORM$APPLICATION$CLOUDFIER_USER$BASE_APPLICATION_PATH
echo">\n>\n>\n>\n"
echo"*** Running tests for - $APPLICATION"
./test.sh $PLATFORM$APPLICATION"-DreportsDirectory=$CWD/test-reports"
echo">\n>\n>\n>\n"
echo"*** Finished running tests for - $APPLICATION"