How to Solve "Some plugins failed to install properly, you may retry installing..." in Jenkins?
Last Updated : 23 Feb, 2023
Jenkins can be installed in many ways - but after installation, the way to set up Jenkins in all the systems is the same. The steps are as follows
- Step 1 - Open 'localhost:8080' in the browser if you haven't changed the port of Jenkins.
- Step 2 - Unlock Jenkins using the Initial Admin password and provide your administrator account details.
- Step 3 - Install the recommended or required plugins.
While you have performed the installation process of Jenkins step by step perfectly, you meet an error - "Some plugins failed to install properly, you may retry installing them or continue without the failed plugins" in Step 3 of setting up Jenkins, which pops up when the suggested plugin's installation in Jenkins is not able to complete its installation.
The error which follows while you get started with Jenkin upon failure of installation of plugins.Solutions
Solution 1: Check your network connection and troubleshoot it.
Solution 2: Try clicking the Retry button at the bottom of the page. Sometimes installation of plugins works by retrying the installation several times.
Solution 3: Try restarting Jenkins.
Windows:
# (In browser) http://[jenkins-url]/safeRestart
# use it when you have installed Jenkins using .exe file (In terminal) jenkins.exe restart
Unix-based OS:
#(In terminal) sudo systemctl restart jenkins
#another method (In terminal) sudo /etc/init.d/jenkins restart
MAC:
# (In browser) http://[jenkins-server]/restart
# use it when Jenkins-LTS is installed (In terminal) brew services restart jenkins-lts
Solution 4: When installed using jenkins.war file, try running Jenkins in Java-enabled mode.
Command - (In terminal) [works on all OS]
#after this command refresh the browser page java -jar jenkins.war --enable-future-java flag
Similar Reads
How to Setup an Slave Agent For the Master in Jenkins in AWS? Pre-requisites: Jenkins Jenkins is an open-source continuous integration and delivery (CI/CD) tool used by software development teams to automate the building, testing, and deployment of applications. One of the key features of Jenkins is its ability to support master-slave configuration, which allo
5 min read
How to Install and configure Jenkins on Debian Linux (Ubuntu/Kali/Mint) Jenkins is an open-source, cross-platform automation server that is used to build, test and deploy software. It simplifies and accelerates Continuous Integration/Continuous Delivery (CI/CD) environments by creating jobs, scripts, and pipelines. The application is primarily written in Java and requir
2 min read
How to install and configure Jenkins Server on Godaddy Srever? GoDaddy Server is a cloud-based hosting platform that consists of virtual and dedicated servers. The premium service includes weekly backups, 99% uptime, 24x7 Customer Support, a free encrypted SSL certificate, unlimited bandwidth, and SSD storage. For regular users, the latest generation is VPS Gen
3 min read
How To Reset Build Number In Jenkins? Jenkins is an open-source automation server that is mainly used in building, testing, and deploying software projects. In some scenarios, you must have found yourself in a situation where you want to reset the build number in Jenkins. Whether it is because of organizational reasons, or you want to s
4 min read
What Is Poll SCM Jenkins ?, And How To Configure Poll Scm ? Jenkins is one of the most popular open-source automation servers that provides an interface for building, testing, and deploying code. One of its essential key features is that it can trigger builds automatically based on the changes made in the source code repository. This process is known as poll
6 min read