Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Vladishev <aleksander.vladishev@zabbix.com>2017-09-08 23:21:29 +0300
committerAlexander Vladishev <aleksander.vladishev@zabbix.com>2017-09-08 23:21:29 +0300
commit6f4c08df7f0789075e195dbcc5d4698750cec92f (patch)
tree32f1d8754a1b2825641344405bea2200be115ccc /build.xml
parentabe3cab712a35db874380f722c735f89a08fdc14 (diff)
.......... [DEV-665] added screenshots for Selenium tests
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 1d9b9083e0f..3cd82ed940c 100644
--- a/build.xml
+++ b/build.xml
@@ -13,12 +13,15 @@
<property name="dbhost" value="${DBHOST}"/>
<property name="dbname" value="${DBNAME}"/>
<property name="dbuser" value="${DBUSER}"/>
- <property name="dbpassword" value="${DBPASSWORD}"/>
+ <property name="dbpassword" value="${DBPASSWORD}"/>
+ <property environment="env"/>
<!-- Create bootstrap.php -->
<copy overwrite="true" file="frontends/php/tests/bootstrap.php.template" tofile="frontends/php/tests/bootstrap.php"/>
<replace file="frontends/php/tests/bootstrap.php" token="{URL}" value="${url}"/>
<replace file="frontends/php/tests/bootstrap.php" token="{BASEDIR}" value="${basedir}"/>
+ <replace file="frontends/php/tests/bootstrap.php" token="{SCREENSHOT_DIR}" value="${env.SCREENSHOT_DIR}"/>
+ <replace file="frontends/php/tests/bootstrap.php" token="{SCREENSHOT_URL}" value="${env.SCREENSHOT_URL}"/>
<!-- Create PHP config file -->
<copy overwrite="true" file="tests/templates/zabbix.conf.php" tofile="frontends/php/conf/zabbix.conf.php"/>