Skip to content

Commit

Permalink
Added documentation about headless acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoraboeuf committed Apr 4, 2014
1 parent 55653d0 commit 0f35890
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion ontrack-acceptance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,24 @@ Running acceptance tests against the production environment requires some heavy
mvn clean verify -pl ontrack-acceptance -am -P it -P it-prod -DitUrl=http://ontrack.dcoraboeuf.eu.cloudbees.net -DitAdminPassword=***
```

where `***` is the password on the `admin` account on the production environment.
where `***` is the password on the `admin` account on the production environment.

## Running tests in headless mode in Jenkins

* The [Xvnc Jenkins plug-in](https://wiki.jenkins-ci.org/display/JENKINS/Xvnc+Plugin) must be installed
* `vncserver` must be installed:

sudo apt-get install vnc4server

# Launch vncserver and enter any password
vncserver :11

# Copy the created .vnc configuration to your Jenkins location, for example:
cp -r .vnc /var/lib/jenkins

# Adjust rights accordingly to this directory

* Firefox must be installed:

sudo apt-get install vnc4server

0 comments on commit 0f35890

Please sign in to comment.