Update Jenkins with selected plugins - jenkins

I have got a update for Jenkins, current version (Jenkins ver. 2.89.3) to (2.107.2). That includes the update on ansible plugin, which i dont want to do it because the latest version of ansible plugin is not compatible to my environment. How to upgrade Jenkins excluding that particular ansible plugin changes
OS: Rhel7
current version:Jenkins ver. 2.89.3

In my environment, updating Jenkins application doesn't automatically update your plugins. You'd have to update your plugins in the settings options.
Also, my Jenkins instance is configured using tomcat & nginx reverse proxy.

Related

How to specify which Gradle version is used in a freestyle pipeline Jenkins

I wanted to change the version of Gradle used in Jenkins Pipeline.
It keeps reverting to 6.8 although 7.5 is installed on machine.
I tried using sdkman and that works in terminal but I couldn't get it working on Jenkins Pipeline.

Jenkins 2.365 with node having JDK8

We have recently upgraded Jenkins 2.365 for which we are using openJDK-11.
But, we are still using JDK8 to build and execute the test, I want to attach the node of RHEL machine with JDK8
Won't it possible with latest Jenkins i.e. version 2.365 releases?

Unable to run groovy scripts with latest jenkins version

I am in the process of upgrading jenkins server to latest LTS version (2.204.2 to 2.251.2) in my current work environment.
In present scenario jenkins installation and configuration is an automated process via chef.
The problem starts here :
i need to upgrade my jenkins server to latest LTS version via chef cookbook
remoting option has been obsolete in latest jenkins version
my present cookbook uses jenkins_script resource (using jenkins 6.0 cookbook from supermarket) to run groovy scripts
i am able to upgrade my jenkins server but unable to execute groovy scripts via jenkins-cli, its picking remoting option all the time and failing even though its obsolete in latest version
Is there any automated way to change protocol from remoting to ssh/http when chef client runs
.
Any valuable inputs will be helpful

Launch agent via execution of command on the master options not found in jenkins Slave Setup

I was using Jenkins 1.7.4 version in RHEL Linux server. I can able to configure the slave using "launch agent via execution of command on the master" option during slave setup.
Now we have upgraded jenkins to 2.121.1 version. Now we unable to find that option in the upgraded version.
How to fix this issue.
Manually I Installed command-launcher, jdk-tools plugin. Then it works.

Can I upgrade Jenkins at the same time as migrating to a new host?

I have a jenkins master running Jenkins ver. 1.585.
I have a new server thatI want to migrate Jenkins to.
I'd also like to upgrade Jenkins to the latest stable version.
Can I install the new server with the desired version or do I have to use the same version and upgrade it after migrating?
The following process worked for me:
Upgrade the old master: https://wiki.jenkins-ci.org/display/JENKINS/Automated+Upgrade
Upgrade the plugins
Move the master: https://stackoverflow.com/a/8725480/643210

Resources