Skip to content
This repository was archived by the owner on Jan 17, 2024. It is now read-only.

Commit 7af5a07

Browse files
FIX Use optionalBlock
1 parent f07aa3e commit 7af5a07

File tree

1 file changed

+5
-7
lines changed
  • src/main/resources/com/gpuopenanalytics/jenkins/remotedocker/job/DockerImageConfiguration

1 file changed

+5
-7
lines changed

src/main/resources/com/gpuopenanalytics/jenkins/remotedocker/job/DockerImageConfiguration/advanced-config.jelly

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,11 @@
2626
<j:jelly xmlns:j="jelly:core"
2727
xmlns:f="/lib/form">
2828

29-
<f:entry title="Force pull" field="forcePull">
30-
<f:checkbox default="true"/>
31-
</f:entry>
32-
33-
<f:entry title="Max pull retries" field="maxRetries">
34-
<f:textbox default="1"/>
35-
</f:entry>
29+
<f:optionalBlock field="forcePull" title="Force Pull" inline="true" checked="${instance.forcePull}">
30+
<f:entry title="Max Retries" field="maxRetries">
31+
<f:textbox default="1"/>
32+
</f:entry>
33+
</f:optionalBlock>
3634

3735
</j:jelly>
3836

0 commit comments

Comments
 (0)