jenkins 2 dependency errors loading some plugins - jenkins

I have a newly intalled jenkins v 2.36 on ubuntu 14.04 LTS. during the installation process jenkins installed all plugins except pipeline and got stuck on installation. After that i restarted jenkins with
service jenkins restart and was able to create new administrative user, Here is the screen shot of error on jenkins dashboard, the correct button doesnt fix this error.
what should i do to resolve this error ?
The error is
There are dependency errors loading some plugins:
Pipeline: Stage View Plugin v2.4
pipeline-rest-api v2.4 is missing. To fix, install v2.4 or later.
Pipeline v2.4
Pipeline: Stage View Plugin v2.4 failed to load. Fix this plugin first.

It is always good to install the plugin via "Manage Jenkins -> Plugin Manager" , so that the plugin will install its dependencies automatically.
But sometimes due to slow internet connection or other reasons, it fails to do automatically. In that case, we need to do it manually under the Manage Plugins -> Advances Option -> Upload plugin.
So, in your case, it is failing for the below two dependent plugins:
pipeline-rest-api v2.4 is missing. To fix, install v2.4 or later.
Please install the pipeline-rest-api plugin. Also, please install other dependent plugins too for safer side.
List of dependent plugins for any Jenkins plugin.:
https://plugins.jenkins.io/workflow-aggregator
https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Stage+View+Plugin

Helpful link jenkins_dependency_error that helped me solve this issue
Download the plugin from here latest pipeline.
Go to jenkins dashboard > Manage jenkins> Manage Plugin > [select Advanced Tab]
select upload plugin file (select the option "restart after installation" )

Related

Jenkins Gradle Plugin is not installing

Some of the Jenkins plugins are not installing on my ubuntu after choosing to install suggested plugins the first time of launch Jenkins.
you can always download plugins in jenkins manually. In the UI go to Manage Jenkins > Manage Plugins> search needed plugin and install . make sure you are also downloading all the dependencies to make the plugin working fine.

I am unable to configure Jenkins with git lab community edition (12.6.0) getting below error ,Help me to resolve

Question 1:
i am trying to install Jenkins GitLab Plugin and Jenkins Git Plugin.But in my Jenkins version(2.210) it won't available to download .Can anybody explain any alternative way to download this ?
Question 2 :
I have successfully installed ruby plugin and but still getting same error ?i am configuring Jenkins with windows 10.
Dependency errors:
Some plugins could not be loaded due to unsatisfied dependencies. Fix these issues and restart Jenkins to restore the functionality provided by these plugins.
Gitlab Hook Plugin version 1.4.2
ruby-runtime version 0.12 is missing. To fix, install version 0.12 or later.[enter image description here][1]
I think Jenkins requires plugin https://plugins.jenkins.io/ruby-runtime last version
And you plugin require JRuby 1.7.18

jenkins - plugin (credentials) install manually

I'm trying to setup jenkins version 1.651.3 with manual installation of credentials plugin.
But failed to install the plugin.
Here is what I tried;
Download jenkins from http://pkg.jenkins-ci.org/debian-stable/binary/jenkins_1.651.3_all.deb.
Install jenkins_1.651.3_all.deb on Ubuntu 16.04.
I can see the default credentials plugin version is 1.18.
Delete old files; rm -rf /var/lib/jenkins/plugins/credentials*.
Download latest credentials plugin from https://updates.jenkins-ci.org/download/plugins/credentials/2.1.13/credentials.hpi.
Restart jenkins; service jenkins restart.
Still the credentials version is 1.18 not 2.1.13.
How can I install the latest credentials plugin manually? I mean without accessing web UI (Manage Jenkins -> Manage plugins)?
Jenkins creates a directory named after the plugin for every .hpi file you have in your $JENKINS_HOME/plugins/.
Try to find that directory (name should be 'credentials') and delete it.
I found the doc describing this behavior; plugin pinning.
https://wiki.jenkins.io/plugins/servlet/mobile?contentId=46334825#content/view/46334825
After creating xxx.jpi.pinned it worked.

Jenkins find installed plugins

I am new to Jenkins. I have installed some plugins like maven, JDK parameter on my local jenkins server. After installing the same it doesn't appear in the "Configure system" page. I tried to restart my machine, to see if its required but it didn't help. Could someone guide on what are the steps to be followed to use the installed plug in in the configure system page.
Take a look at the official Jenkins wiki: https://wiki.jenkins-ci.org/display/JENKINS/Plugins
Make sure your Jenkins version supports the version of the plugins you want to install.

Jenkins : Unable to uninstall Flexible Publish Plugin

I had installed the Flexible Publish Plugin through the Jenkins Web module by marking it for Install without restart option. The plugin installation went fine. The real trouble is when you want to uninstall the application.
Jenkins web module is not letting me uninstall or disable this plugin because of a dependency tree that has been created.
Flexible Publish Plugin
|_ Artifactory Plugin
AFAIK, the Artifactory Plugin was installed even before I installed Flexible Publish Plugin but still it is showing up as a dependency for Flexible Publish Plugin.
Is there any other workaround to uninstall the plugin?
NOTE : I couldn't find any .hpi or .jpi file corresponding to Flexible Publish Plugin so I am not able to disable the plugin manually from the folder as well.
tomcat/webapps/jenkins/WEB-INF/plugins contains just *.hpi.
~/.jenkins/plugins contains *.jpi.
See Jenkins – The Definitive Guide, The Jenkins Home Directory:
By default, the Jenkins home directory will be called .jenkins, and will be placed in your home directory.

Resources