How to uninstall Pipeline: Deprecated Groovy Libraries

868 views
Skip to first unread message

Alan Sparks

unread,
May 24, 2022, 5:27:28 PM5/24/22
to Jenkins Users

So this plugin (Pipeline: Deprecated Groovy Libraries) is now marked deprecated and I’m trying to remove it.  But I don’t seem to see how.

 

When I check, I have “Pipeline: Groovy Libraries” already installed.  But If I go to uninstall the deprecated one, it tells be I have dependencies on “Pipeline: Declarative” and “GitLab”.   I need both of those.

 

I don’t see a procedure on the plugin info page how to work around the dependencies.  Can someone point me to how to uninstall this plugin?  Thanks.

 

-Alan

Mark Waite

unread,
May 24, 2022, 5:47:56 PM5/24/22
to Jenkins Users
You'll need to wait for the two plugins to be released with an update to their dependencies so that they do not depend on the deprecated plugin.  

The "Pipeline: Declarative" change was merged about 2 hours ago and is likely to be released very soon.

The GitLab plugin does not have a pull request submitted for it yet.  Once the pull request has been submitted and merged, then you'll need to update to that version.  Then you'll be able to remove the deprecated plugin.

Mark Waite

Alan Sparks

unread,
May 24, 2022, 5:54:42 PM5/24/22
to jenkins...@googlegroups.com

 

Thanks for that answer.  I’ll watch for those releases.

-Alan

Mark Waite

unread,
May 28, 2022, 9:21:04 PM5/28/22
to Jenkins Users
Releases are available that remove the dependency.

Alan Sparks

unread,
May 31, 2022, 2:50:28 PM5/31/22
to jenkins...@googlegroups.com

Except, not exactly.  I have not upgraded our Jenkins from 2.319.3 to 2.332 due to some oddness I saw when we did some test upgrades.  However, it looks like some plugins (particularly Pipeline: Declarative) is one that is not allowed upgrade, there’s no way to include it in the plugin update.

 

So it seems support for 2.319.x LTS by a large number of plugins is not there.

-Alan

 

From: jenkins...@googlegroups.com <jenkins...@googlegroups.com> On Behalf Of Mark Waite
Sent: Saturday, May 28, 2022 7:21 PM
To: Jenkins Users <jenkins...@googlegroups.com>
Subject: Re: How to uninstall Pipeline: Deprecated Groovy Libraries

 

Reply all
Reply to author
Forward
0 new messages