[JIRA] (JENKINS-54064) Gradle plugin uses legacy plugin format

18 views
Skip to first unread message

dbeck@cloudbees.com (JIRA)

unread,
Oct 13, 2018, 4:44:02 PM10/13/18
to jenkinsc...@googlegroups.com
Daniel Beck created an issue
 
Jenkins / Bug JENKINS-54064
Gradle plugin uses legacy plugin format
Issue Type: Bug Bug
Assignee: Stefan Wolf
Components: gradle-plugin
Created: 2018-10-13 20:43
Priority: Minor Minor
Reporter: Daniel Beck

Installing Gradle plugin 1.29 shows these messages in the log on Jenkins 2.146(ish), emphasis mine:

Oct 13, 2018 7:58:05 PM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of Gradle on behalf of admin
Oct 13, 2018 7:58:05 PM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading Gradle
Oct 13, 2018 7:58:05 PM hudson.PluginManager dynamicLoad
INFO: Attempting to dynamic load /…/plugins/gradle.jpi
Oct 13, 2018 7:58:06 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses
WARNING: Created /…/plugins/gradle/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness

Gradle plugin should update its toolchain to one supporting the newer classes.jar format. (Might be a problem with Gradle JPI Plugin, unsure).

CC Daniel Spilker

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

rene.scheibe@gmail.com (JIRA)

unread,
Dec 15, 2019, 9:31:03 AM12/15/19
to jenkinsc...@googlegroups.com
René Scheibe commented on Bug JENKINS-54064
 
Re: Gradle plugin uses legacy plugin format

Steve Hill I have seen you lately performed many changes on the gradle-jpi-pugin. Do you have an idea what this is exactly about and if the gradle-jpi-pugin or gradle-pugin has to be change to fix the issue reported here?

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

rene.scheibe@gmail.com (JIRA)

unread,
Dec 15, 2019, 9:32:02 AM12/15/19
to jenkinsc...@googlegroups.com
René Scheibe edited a comment on Bug JENKINS-54064
[~sghill] I have seen you lately performed many changes on the _gradle-jpi-pugin_. Do you have an idea what this is exactly about and if the _gradle-jpi-pugin_ or _gradle-pugin_ has to be change changed to fix the issue reported here?

dbeck@cloudbees.com (JIRA)

unread,
Dec 16, 2019, 3:32:03 AM12/16/19
to jenkinsc...@googlegroups.com

René Scheibe It's a problem that manifests in Gradle Plugin (as reported) but if it's packaged using Gradle JPI Plugin, then the latter needs to be updated, or changed, to implement a change similar to https://github.com/jenkinsci/maven-hpi-plugin/commit/603535119122e820751607812bb7d0bd3b8c3556

The corresponding core change is https://github.com/jenkinsci/jenkins/commit/f7330d7a158eff6705706b1f812993a9b918c351

Basically, do not deliver a WEB-INF/classes directory, but a WEB-INF/${pluginName}.jar file.

rene.scheibe@gmail.com (JIRA)

unread,
Dec 17, 2019, 6:58:03 PM12/17/19
to jenkinsc...@googlegroups.com

Daniel Beck Thanks a lot for these very useful details.

sghill.dev@gmail.com (JIRA)

unread,
Dec 22, 2019, 8:20:03 PM12/22/19
to jenkinsc...@googlegroups.com
Steve Hill resolved as Fixed
 

This has been released in 0.36.0.

Change By: Steve Hill
Status: Open Resolved
Assignee: Stefan Wolf Steve Hill
Resolution: Fixed
Released As: 0.36.0

rene.scheibe@gmail.com (JIRA)

unread,
Dec 23, 2019, 4:23:03 AM12/23/19
to jenkinsc...@googlegroups.com
René Scheibe updated an issue
Change By: René Scheibe
Component/s: gradle-jpi-plugin

rene.scheibe@gmail.com (JIRA)

unread,
Dec 23, 2019, 4:23:04 AM12/23/19
to jenkinsc...@googlegroups.com
René Scheibe updated an issue
Change By: René Scheibe
Released As: gradle-jpi-plugin 0.36.0

rene.scheibe@gmail.com (JIRA)

unread,
Dec 23, 2019, 4:24:03 AM12/23/19
to jenkinsc...@googlegroups.com
René Scheibe reopened an issue
Change By: René Scheibe
Resolution: Fixed
Status: Resolved Reopened
Assignee: Steve Hill René Scheibe

rene.scheibe@gmail.com (JIRA)

unread,
Jan 6, 2020, 5:48:02 PM1/6/20
to jenkinsc...@googlegroups.com
René Scheibe resolved as Fixed
Change By: René Scheibe
Status: Reopened Resolved
Assignee: René Scheibe
Resolution: Fixed

rene.scheibe@gmail.com (JIRA)

unread,
Jan 6, 2020, 5:48:02 PM1/6/20
to jenkinsc...@googlegroups.com
René Scheibe updated an issue
Change By: René Scheibe
Released As: gradle-jpi-plugin 0.36.0 , gradle-plugin 1.36
Reply all
Reply to author
Forward
0 new messages