Skip to content

Commit

Permalink
JENKINS-64502 Fix plugin on Jenkins >=2.264 (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
timja authored Dec 23, 2020
1 parent baa3845 commit f2e7778
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
6 changes: 2 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.7</version>
<version>4.15</version>
<relativePath />
</parent>

Expand Down Expand Up @@ -117,7 +117,6 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>matrix-auth</artifactId>
<version>2.6.4</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand All @@ -144,7 +143,6 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>token-macro</artifactId>
<version>2.12</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -154,7 +152,7 @@
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.263.x</artifactId>
<version>19</version>
<version>20</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<f:entry title="" field="configs">
<f:repeatable field="configs" noAddButton="true" minimum="1">
<j:set var="instance" value="${instance.descriptor!=descriptor?null:instance}"/><!-- work around until 1.382 -->
<table width="100%">
<div>
<st:include class="${descriptor.clazz}" page="config.jelly" />
<f:entry>
<div align="right">
<input type="button" value="${%Add parameter...}" class="repeatable-add show-if-last" />
<input type="button" value="${%Delete}" class="repeatable-delete show-if-not-only" style="margin-left: 1em;" />
</div>
</f:entry>
</table>
</div>
</f:repeatable>
</f:entry>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<f:repeatable field="configs" noAddButton="true" minimum="1">
<j:set var="instance" value="${instance.descriptor!=descriptor?null:instance}"/><!-- work around until 1.382 -->
<j:set var="configFor" value="publisher" /> <!-- used for views of AbstractBuildParameters to determine called for builder or publisher -->
<table width="100%">
<div>
<st:include class="${descriptor.clazz}" page="config.jelly" />

<f:entry>
Expand All @@ -13,7 +13,7 @@
<input type="button" value="${%Delete}" class="repeatable-delete show-if-not-only" style="margin-left: 1em;" />
</div>
</f:entry>
</table>
</div>
</f:repeatable>
</f:entry>
</j:jelly>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<f:repeatable field="configs" noAddButton="true" minimum="1">
<j:set var="instance" value="${instance.descriptor!=descriptor?null:instance}"/><!-- work around until 1.382 -->
<j:set var="configFor" value="builder" /> <!-- used for views of AbstractBuildParameters to determine called for builder or publisher -->
<table width="100%">
<div>
<st:include class="${descriptor.clazz}" page="config.jelly" />

<f:entry>
Expand All @@ -13,7 +13,7 @@
<input type="button" value="${%Delete}" class="repeatable-delete show-if-not-only" style="margin-left: 1em;" />
</div>
</f:entry>
</table>
</div>
</f:repeatable>
</f:entry>
</j:jelly>

0 comments on commit f2e7778

Please sign in to comment.