forked from sankethpb/text-file-operations-plugin
/
config.jelly
26 lines (26 loc) · 990 Bytes
/
config.jelly
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
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define"
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<f:entry title="File Path: " field="textFilePath">
<f:textbox></f:textbox>
</f:entry>
<f:entry title="Create at Workspace:" field="useWorkspace">
<f:checkbox/>
</f:entry>
<f:entry title="Text File Content: " field="textFileContent">
<f:textarea></f:textarea>
</f:entry>
<f:entry title="File options: " field="fileOption">
<f:entry>
<f:radio name="fileOption" title="Insert at start of file"
value="insertAtStart" checked="${instance.fileOption == 'insertAtStart'}" />
</f:entry>
<f:entry>
<f:radio name="fileOption" title="Append to end of file"
value="appendToEnd" checked="${instance.fileOption == 'appendToEnd'}" />
</f:entry>
<f:entry>
<f:radio name="fileOption" title="Overwrite file"
value="overWrite" checked="${instance.fileOption == 'overWrite'}" />
</f:entry>
</f:entry>
</j:jelly>