-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathstop_job_template.xml
28 lines (24 loc) · 1.34 KB
/
stop_job_template.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
<?xml version="1.0"?><job-template id="clean-server" localization-id="jobName" description-localization-id="jobDescription">
<localization-strings default-language="en-us">
<language id="en-us">
<string id="jobName">Remove a Running Project</string>
<string id="jobDescription">Unload a project from a specified ESP server</string>
<string id="target-server">ESP server</string>
<string id="project-to-stop">Project to unload</string>
<string id="stop-project">Stop Project</string>
<string id="unload-project">Unload Project</string>
</language>
</localization-strings>
<parameters>
<server-selector id="server" localization-id="target-server">
<running-project-selector id="project-to-stop" localization-id="project-to-stop" required="true" />
</server-selector>
</parameters>
<server-filters>
<server-filter id="filter1" filter-expression="(objectId='{server.id}')" />
</server-filters>
<instructions>
<stop-project id="stop-project" localization-id="stop-project" server-filter="filter1" running-project-name="{project-to-stop.name}" />
<unload-project id="unload-project" localization-id="unload-project" server-filter="filter1" depends-on="stop-project" running-project-name="{project-to-stop.name}" />
</instructions>
</job-template>