hi
can any one tell me how to update the jenkins without loosing the data which is saved
Is this in the context of a lab, or is this about a system you’ve installed yourself on a virtual system?
yeh! it’s in the lab about the Jenkins chained project where it asking me use a copy artifact plugin but it only works on upgraded version so i want to update the Jenkins
I’m not sure how Jenkins is installed in the labs, but the data files are typically under “/var/lib/jenkins”, which I suspect is upgrade safe. I would guess you can upgrade Jenkins, and it doesn’t cost you much to try, particularly if it’s done via apt. Worse case it fails, and you have to start the lab again.
Do be aware that we have an open issue in our tracking system and an engineer is assigned, so it’ll get done pretty soon. I just can’t tell you when he’ll be done.
Looks like we install it using APT. I successfully upgraded a lab using these instructions – give that a try.
Great! i am done the upgrade i thought of doing this before but i was not sure about this it can cause an error, anyway thank @rob_kodekloud
no worries i used the command "sudo service jenkins restart " it worked

