What do you someone breaks something? I post the solution here...

Kubernetes (K8s/K3d) / Terraform / Ansible / Linux / AWS / Docker / Bash / Python / ELK / CI/CD / Java / Traefik / Nginx / CentOs / Ubuntu


Offline Jenkins Plugins Upgradation



Upgrade Jenkins Plugins (After Jenkins Upgrade)

So as shown in above we have so many dependancies on Jenkins Plugins. To update required jenkins plugins we will follow following approach:
Install Jenkins and add required plugins on a network-attached computer. Make an archive of the Jenkins Plugins directory structure and transfer it to the offline machine.
Steps to update Jenkins as given below:
 Install previous version of Jenkins on network-attached computer. And install all plugins which are available in your old Jenkins environment.
     Update the Jenkins version using above steps.
Once Jenkins is up check it will show the Plugins dependencies. 

     Click on correct. It will take you to manage Jenkins plugins. In that it will list all the plugins with latest versions.
     Download and install all the plugins and restart the Jenkins. Once again check is there any plugins Dependency. 

      Finally on same network-attached computer go to Jenkins Directory C:\Program Files (x86)\Jenkins\plugins
      Copy all the .jpi files.

             Replace all these files in file path C:\Program Files (x86)\Jenkins\plugins where Jenkins is updated.
      Restart the Jenkins Service.

Once Jenkins is Up we can see there is no dependency as well as update is available.


Finally, You Upgraded the Jenkins with latest version of Plugins in Offline Machine.


No comments:

Powered by Blogger.