Project

General

Profile

« Previous | Next » 

Revision 0ed08d92

Added by Andreas Kohlbecker over 6 years ago

configuring new pom.xml for selenium tests and starting to adapt the headless-maven-tests.sh script

View differences:

modules/cdm_dataportal/jenkins-ci/headless-maven-tests.sh
1 1
#!/bin/bash -x
2 2
#
3 3
# USAGE:
4
#     bash -ex /usr/lib/selenium/headlessSelenium.sh MODULE_ROOT
5
# whereas MODULE_ROOT points to the cdm_dataportal folder in the jenkins workspace
4
#     bash -ex /usr/lib/selenium/headlessSelenium.sh [WORKSPACE_ROOT]
5
# whereas WORKSPACE_ROOT points to workspace root in the jenkins workspace
6
# which contains the whole project
6 7
#
7
MODULE_ROOT=$1
8
if [ -z "$WORKSPACE_ROOT" ]; then
9
    WORKSPACE_ROOT=$1
10
fi
11

  
8 12
FIREFOX_BIN="/usr/lib/iceweasel/firefox-bin"
9 13

  
10 14
DISPLAY=":99"
......
26 30
fi
27 31
export DISPLAY
28 32

  
29
cd $MODULE_ROOT/test/java/dataportal-selenium-tests/
33
cd $WORKSPACE_ROOT
30 34

  
31 35
if [ -n $2 ]; then
32 36
  CONF_FILE_OPTION="-Ddataportal.test.conf=$2"

Also available in: Unified diff