mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
[FIXED JENKINS-23191] f:radio is not databinding-aware and does not correctly handle multiple configuration sections unless you make it.
This commit is contained in:
1 parent
e1e7f1b93b
commit
d660d60ea7
4 files changed
+10
-6
No files matched your search
@@ -58,6 +58,9 @@ Upcoming changes</a>
|
||||
<li class=rfe>
|
||||
Add CLI commands to add jobs to and remove jobs from views (add-job-to-view, remove-job-from-view).
|
||||
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-23361">issue 23361</a>)
|
||||
<li class=bug>
|
||||
Failed to correctly resave a project configuration containing both a forward and a reverse build trigger.
|
||||
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-23191">issue 23191</a>)
|
||||
<li class="major bug">
|
||||
HTTP error 405 when trying to restart ssh host.
|
||||
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-23094">issue 23094</a>)
|
||||
|
||||
@@ -32,15 +32,15 @@ THE SOFTWARE.
|
||||
</f:entry>
|
||||
<j:if test="${descriptor.showEvenIfUnstableOption(targetType)}"> <!-- TODO JENKINS-16444 this will always be true when first adding step -->
|
||||
<f:entry title="">
|
||||
<f:radio name="threshold" checked="${instance.threshold==null || instance.threshold.toString()=='SUCCESS'}"
|
||||
<f:radio name="BuildTrigger.threshold" checked="${instance.threshold==null || instance.threshold.toString()=='SUCCESS'}"
|
||||
title="${%Trigger only if build is stable}" value="SUCCESS"/>
|
||||
</f:entry>
|
||||
<f:entry title="">
|
||||
<f:radio name="threshold" checked="${instance.threshold.toString()=='UNSTABLE'}"
|
||||
<f:radio name="BuildTrigger.threshold" checked="${instance.threshold.toString()=='UNSTABLE'}"
|
||||
title="${%Trigger even if the build is unstable}" value="UNSTABLE"/>
|
||||
</f:entry>
|
||||
<f:entry title="">
|
||||
<f:radio name="threshold" checked="${instance.threshold.toString()=='FAILURE'}"
|
||||
<f:radio name="BuildTrigger.threshold" checked="${instance.threshold.toString()=='FAILURE'}"
|
||||
title="${%Trigger even if the build fails}" value="FAILURE"/>
|
||||
</f:entry>
|
||||
</j:if>
|
||||
|
||||
@@ -29,15 +29,15 @@ THE SOFTWARE.
|
||||
<f:textbox autoCompleteDelimChar=","/>
|
||||
</f:entry>
|
||||
<f:entry title="">
|
||||
<f:radio name="threshold" checked="${instance.threshold==null || instance.threshold.toString()=='SUCCESS'}"
|
||||
<f:radio name="ReverseBuildTrigger.threshold" checked="${instance.threshold==null || instance.threshold.toString()=='SUCCESS'}"
|
||||
title="${%Trigger only if build is stable}" value="SUCCESS"/>
|
||||
</f:entry>
|
||||
<f:entry title="">
|
||||
<f:radio name="threshold" checked="${instance.threshold.toString()=='UNSTABLE'}"
|
||||
<f:radio name="ReverseBuildTrigger.threshold" checked="${instance.threshold.toString()=='UNSTABLE'}"
|
||||
title="${%Trigger even if the build is unstable}" value="UNSTABLE"/>
|
||||
</f:entry>
|
||||
<f:entry title="">
|
||||
<f:radio name="threshold" checked="${instance.threshold.toString()=='FAILURE'}"
|
||||
<f:radio name="ReverseBuildTrigger.threshold" checked="${instance.threshold.toString()=='FAILURE'}"
|
||||
title="${%Trigger even if the build fails}" value="FAILURE"/>
|
||||
</f:entry>
|
||||
</j:jelly>
|
||||
@@ -29,6 +29,7 @@ THE SOFTWARE.
|
||||
|
||||
Note that safari doesn't support onchange.
|
||||
|
||||
Beware that the name attribute should be uniquified among all radio blocks on the page, such as by prefixing it with "G0025." or whatever gensym.
|
||||
<st:attribute name="name" />
|
||||
<st:attribute name="checked" />
|
||||
<st:attribute name="value" />
|
||||
|
||||
Reference in new issue
Block a user