Skip to content

Commit

Permalink
[JENKINS-74095] [JENKINS-74096] [JENKINS-74097] [JENKINS-74099] Remov…
Browse files Browse the repository at this point in the history
…e legacy checkUrl handlers (#146)

* remove legacy inline onClick handler in AbstractPlotPublisher/config.jelly

* remove legacy inline onClick handlers

* use checkDepends on for Pipeline compatibility

* use checkDepends on for Pipeline compatibility

---------

Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
  • Loading branch information
shlomomdahan and MarkEWaite authored Nov 25, 2024
1 parent 708a631 commit efbb7f5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@
<f:entry title="" description="${%A new data series definition}">
<f:repeatable var="series" items="${plot.series}" minimum="1">
<div>
<f:entry title="${%Data series file}" help="/plugin/plot/help-series.html">
<f:textbox name="file" value="${series.file}"
checkUrl="'descriptorByName/hudson.plugins.plot.PlotPublisher/checkSeriesFile?value='+toValue(this)" />
<f:entry title="${%Data series file}" field="seriesFile" help="/plugin/plot/help-series.html">
<f:textbox name="file" value="${series.file}"/>
</f:entry>

<f:radioBlock name="fileType" value="properties" title="${%Load data from properties file}" help="/plugin/plot/help-properties.html" checked="${series.fileType=='properties' or series.fileType==null}">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<div>
<f:entry title="${%Data series file}" field="file" help="/plugin/plot/help-series.html">
<f:textbox name="file" value="${series.file}"
checkUrl="'descriptorByName/hudson.plugins.plot.PlotPublisher/checkSeriesFile?value='+toValue(this)"/>
checkUrl="descriptorByName/hudson.plugins.plot.PlotPublisher/checkSeriesFile"
checkDependsOn="" />
</f:entry>
<f:nested>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<div>
<f:entry title="${%Data series file}" help="/plugin/plot/help-series.html">
<f:textbox name="file" value="${series.file}"
checkUrl="'descriptorByName/hudson.plugins.plot.PlotPublisher/checkSeriesFile?value='+toValue(this)" />
checkUrl="descriptorByName/hudson.plugins.plot.PlotPublisher/checkSeriesFile"
checkDependsOn="" />
</f:entry>
<f:nested>
<f:entry title="${%Data series legend label}" help="/plugin/plot/help-legend.html">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<div>
<f:entry title="${%Data series file}" help="/plugin/plot/help-series.html">
<f:textbox name="file" value="${series.file}"
checkUrl="'descriptorByName/hudson.plugins.plot.PlotPublisher/checkSeriesFile?value='+toValue(this)" />
checkUrl="descriptorByName/hudson.plugins.plot.PlotPublisher/checkSeriesFile"
checkDependsOn="" />
</f:entry>
<f:nested>
<div>
Expand Down

0 comments on commit efbb7f5

Please sign in to comment.