I am assuming that this is definitely because of the unsuccessful installation of Jenkins, here I have told about the complete Jenkins installation process, kindly follow the following steps to get it working:
Start by downloading and installing Jenkins.
To download Jenkins, visit the Jenkins web site. Click the ‘Download’ button and choose the file that suits your OS.
To install Jenkins, 1st move the downloaded Jenkins.war file to an appropriate directory, e.g. C:Program FilesJenkins:
Then open a command prompt in this directory by clicking on the file path and typing ‘cmd’:
Once command prompt has opened, type and run the command java –jar Jenkins.war.
Once the command has run, a password will be generated for logging into Jenkins:
In this example the password is cd3f375e0baa47f4b4a5591f1e920bfe.
Note that this password can also be checked by referring to the InitialAdminPassword.txt file which has been created in the \.jenkins\secrets folder:
Jenkins Setup Next, open your browser and navigate to URL: localhost:8080:
The following screen will appear:
Enter your password then click the ‘Continue’ button.
On the next screen, choose the option ‘Select plugins to install’:
Some plugins will be defaulted already. These can be left as defaulted. Make sure that the following plugins are ticked: Ant Plugin (under Build Tools):
JUnit Plugin (under Build Analysis and Reporting):
If you want Jenkins to download the regression pack from your Version Control repository, also tick the relevant plugin under Source Code Management (e.g. the Git plugin):
Then click the ‘Install’ button. When this is completed, click the ‘Continue as admin’ button on the following screen (instead of filling out ‘Create First Admin User’):
Note that, the next time you log in, your username will be ‘admin’ and your password will be the one generated earlier. On the next screen, click the button ‘Start using Jenkins’ to complete the setup.
I hope this helps!