forked from parasoft/parabank
-
Notifications
You must be signed in to change notification settings - Fork 0
/
set-vars.sh
executable file
·40 lines (29 loc) · 861 Bytes
/
set-vars.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
#**** Setup
export DTP_PROJECT=Parabank-v3
export RUN_DATE=`date +%Y%m%d`
if ($BUILD_NUMBER == "") then
export BUILD_ID=PARABANK3-$RUN_DATE
else
export BUILD_ID=PARABANK3-$BUILD_NUMBER
fi
export RUN_TIME=`date +%Y%m%d%H%M`
export APP_COVERAGE_DIR=~/tmp
export REPORT_DIR=target/reports/$BUILD_ID
export LOG_DIR=target/logs
echo ===================================================================
echo DTP Project:$DTP_PROJECT "(BUILD_ID:"$BUILD_ID", RUN_TIME:"$RUN_TIME")"
echo ===================================================================
echo Setup DTP Engine & SOAtest Installation
JTEST_HOME=
SOATEST_HOME=
if [ -z "JTEST_HOME" ]; then
echo JTEST_HOME must be set
exit 1;
fi
if [ -z "SOATEST_HOME" ]; then
echo SOATEST_HOME must be set
exit 1;
fi
export JTEST_HOME SOATEST_HOME
export PATH=$JTEST_HOME:$SOATEST_HOME:$PATH