Jenkins 2.365 with node having JDK8 - jenkins

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?

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.

Error While Updating Jenkins to the latest version

I used this link to update my jenkins:
https://gist.github.com/ricardo-dlc/1a6cbd9d48e4fa791b022b1eebc15de5
but it is not working and ends with some errors.
Is there any other way to update jenkins to the latest version?
Note that I am running my jenkins on a docker container.

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.

Update Jenkins with selected plugins

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.

Resources