Skip to content

Commit 89f151b

Browse files
authored
Migrate from jQuery 1.x to 3.x (#140)
1 parent 7eddd9a commit 89f151b

File tree

2 files changed

+3
-3
lines changed
  • src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,8 @@
8383
<scope>provided</scope>
8484
</dependency>
8585
<dependency>
86-
<groupId>org.jenkins-ci.plugins</groupId>
87-
<artifactId>jquery</artifactId>
88-
<version>1.12.4-1</version>
86+
<groupId>io.jenkins.plugins</groupId>
87+
<artifactId>jquery3-api</artifactId>
8988
</dependency>
9089
<!-- Optional dependencies for using Spock -->
9190
<dependency>

src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/bpp.jelly

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<link rel="stylesheet" href="${from.cssUrl}" type="text/css" />
1212
</j:if>
1313

14+
<st:adjunct includes="io.jenkins.plugins.jquery3"/>
1415
<script src="${rootURL}/plugin/build-pipeline-plugin/js/jquery-migrate-1.2.1.min.js"></script>
1516
<script type="text/javascript" src="${rootURL}/plugin/build-pipeline-plugin/js/jquery-ui-1.8.14.custom.min.js"></script>
1617
<script type="text/javascript" src="${rootURL}/plugin/build-pipeline-plugin/js/handlebars-1.0.0.beta.6.js"></script>

0 commit comments

Comments
 (0)