Ok. This replaces my earlier question. I am moving forward to simply get 2.5 with Java 21 (MS open java 21) working instead of fixing the old.
I have a backup (files) of the old Jenkins directory including all jobs in the 2.3 / Java 8 format.
After upgrading both java and jenkins I now get the “Log in to Jenkins screen” wanting Username and Password. The username and password we were using does not work. So I followed instructions changing useSecurity to false. It still comes up to this screen.
NOTE: 2.5 was installed OVER the existing 2.3 installation. (same programdata\jenkins directory).
With 2.5 I assume you mean 2.504.1 and with 2.3 some 2.3xx.x version? Which one exactly?
Have you also updated the plugins? Have you checked the upgrade guide. As this seems to be a big jump over several years in Jenkins releases it is likely that that you need to update some plugins manually.
You should check the logs for any plugin not being loaded properly.
I did not update plugins before the upgrade. Sigh. This’ll be fun since uninstalling new and reinstalling old and using my backup directory now does the same thing in the old version.
first collect all plugins you have currently installed, just the technical name (this is basically all the .jpi files in the plugins folder without the extension) and write that in a file one plugin per line
Update: Had to add manually OopenWebStart to the environment path.
I now get Could not read or parse the jnlp fila at (jenkins jnlp path)
If I download the jnlp (which appears to have legit info) and run locally i get the same error. So, OpenWebStart DOES “download” from jenkins but doesn’t like something jenkins is sending?
Original:
Ok. IF I’m reading things right, javaws will no longer work as a agent side launch. I was using:
I am unsure the command line to use now from the agent to grab and execute the .jnlp now?
I think this is the last roadblock to being fully running.
BTW - doing the fresh install and doing a small amount of user/cloud reconfigure and pulling in nodes/jobs was FAR easier in the end doing such a LONG upgrade.