-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.jenkins
32 lines (22 loc) · 889 Bytes
/
.env.jenkins
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
if [ ! -f shuf.nbr ]
then
shuf -i 200-600 -n 1 > shuf.nbr
fi
#RND contain branch name which may contain '-' which may not work as database name for postgre
RND=$(echo $RND|sed -e s/-/_/g|tr '[:upper:]' '[:lower:]')$(echo -n $(cat shuf.nbr ))
SILURL="/sil"
SERVERADDR="127.0.0.1:8042"
SERVERENV="test"
DBHOST=postgres.host
DBROOTUSER=postgres
DBROOTPASSWORD=postgres24
DBAPPNAME=sil_db_${RND}
DBAPPUSER=sil_user_${RND}
DBAPPPASSWORD=sil_password
ELHOST=elk.host
ELALIAS=sil_${RND}
PHPUNITCMD="bin/phpunit --verbose --debug -c phpunit.xml.dist --coverage-html build/coverage --coverage-clover build/clover.xml --coverage-crap4j build/crap4j.xml --log-junit build/junit.xml" #--testdox
#CODECEPTCMD="bin/codecept run -vvv --debug --steps --fail-fast --no-interaction --xml --html"
CODECEPTENV="firefox" #chrome firefox,lisem ...
CODECEPTOUTPUT="src/Tests/_output/"
DISPLAY=:99