-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.xml
35 lines (31 loc) · 1.28 KB
/
build.xml
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
<project default="package" name="network_tools">
<import file="basebuild.xml"/>
<!-- =================================
target: test.run_ui
================================= -->
<target name="test.run_ui" description="Run user interface tests" depends="verify_splunk_home">
<exec failonerror="true" executable="${value.deploy.splunk_home}/bin/splunk" dir="${basedir}/tests">
<arg line="cmd" />
<arg line="python" />
<arg line="ui.py" />
<arg line="--username" />
<arg line="${value.deploy.splunk_username}" />
<arg line="--password" />
<arg line="${value.deploy.splunk_password}" />
<arg line="--url" />
<arg line="${value.deploy.splunkweb_url}" />
<arg line="--browser" />
<arg line="${value.test.browser}" />
</exec>
</target>
<!-- =================================
target: splunk.refresh
================================= -->
<target name="splunk.refresh" description="Refresh Splunk" depends="verify_splunk_home,define_reload_conf_macro">
<reload_conf endpoint="network_tools" />
<reload_conf endpoint="nav" />
<reload_conf endpoint="views" />
<reload_conf endpoint="workflow-actions" />
<reload_conf endpoint="transforms-lookup" />
</target>
</project>