Cannot install plugins on Jenkins - jenkins

I'm new to Jenkins and am trying to get a simple pipeline setup and struggling with the plugins page. I want to install the Azure credentials plugin but in the Plugin Manager page, when I select the plugin checkbox, there is no "Install" button so I don't know what to do next.
Tried on latest Chrome and Firefox with same issue. No errors in the console.
I looked at the documentation and it does not describe any reasons why the buttons won't appear. I am unsure if this is a bug or a problem with the documentation.
I am running v2.249.1 LTS version on Windows Server 2016.

Because this issue seems to be present in both 2.235.1 as ell as 2.260, the weekly release, I would recommend using the Jenkins CLI in the meantime. You can find the documentation here: https://www.jenkins.io/doc/book/managing/cli/ - I just used it and it works well. Do not forget to download the jenkins-cli.jar file as well as generted an API token.
wget https://localhost:8080/jnlpJars/jenkins-cli.jar

I have the same bug here, try Jenkins 2.249.1 fresh installation using ubuntu 20.04 and cannot install plugin from web UI https://prnt.sc/uudmrw
So I downgrade jenkins to older version to version 2.235.1, now I can install plugin from web ui https://prnt.sc/uue9tl
sudo apt-get install jenkins=2.235.1

Related

Some plugins could not be loaded due to unsatisfied dependencies. Fix these issues and restart Jenkins

I was working on jenkins and working fine but i don't know what happened Jenkins shows following errors and no jobs are visible to me after that:
I am new in jenkins please help me to solve this.
As I understand the problem it could happened in cause of downgrading jenkins version or updating plugins "Pipeline: Node and Processes".
You need to restore previous jenkins version or downgrade plugin.
Additionally you can configure jenkins to get plugins' versions which fit your jenkins version in "Manage Jenkins" -> "Manage plugins" -> "Advanced" -> "Update site" and set the version you are currently using (for example https://updates.jenkins.io/stable-2.176/update-center.json)
Jenkins plugins are dependent on Jenkins LTS versions in use. Best way is while installing the Jenkins take latest (but stable) version of plugins.
Since you are using 1.176 version and trying to upgrade the plugins, the latest plugins do not support the older version of Jenkins (since Jenkins follow Parallel incremental development).
You can resolve the problem in 2 ways.
1. Downgrade the plugins and keep the LTS Jenkins version as it is. (not preferred solution since you will not be able to use latest functionality of the plugins and using old plugins is not secured).
Downgrade of plugins will also be suggested by Manage Jenkins --> Manage Plugins --> Installed
2. Upgrade Jenkins version (LTS 2.24x.x)
It is time taking option, but if you are heavely using jenkins for your work it is more suggested to upgrade the version. Besides new plugins have more secured and vast functionalities.
You can check the Changelog and can decided which version is good for you.
Take a reference of Upgrading Jenkins link.
To understand plugins and Jenkins LTS version dependency, use Jenkins wiki(Confluence Page).
e.g. Pipeline:Node and Processes plugin wiki indicates that for version 2.29 you need to have Jenkins version 1.150.1 or higher.
Note: Latest Jenkins version supports HTTPS instead of HTTP URL for advanced proxy options under Manager Jenkins.

Jenkins version doesn't match

I have jenkins installed on an Ubuntu VM.
In the web interface I can see the version is
2.32.3.
However, if I go to /home/bitnami/.jenkins/config.xml I see the version is 1.0 (there is this tag: <version>1.0</version>)
How can it be? am I looking in the wrong place?
Thanks
You may have two versions installed, one in your system and one in your user account.
Did you installed by apt-get or wget?
When you execute the app, you may be running the Jenkins installed in your system and you are looking in your user HOME directory
Try (whereis jenkins and which jenkins) and execute this jenkins in your terminal to see if the version match.

Jenkins and Phabricator integration

I am new to jenkins and need to integrate it with phabricator.
I installed jenkins but when I tried to configure it, I can't find Phabricator Section.
It is mentioned that arcanist needs to be installed on jenkins nodes, but I don't know how to do that.
Can anybody help me out?
Here's the repo: https://github.com/uber/phabricator-jenkins-plugin
Thanks in advance.
Also to install Arcanist you can follow the Quick Start here.
If you are running Jenkins on a linux server you can quickly install with the command:
sudo apt install arcanist
Afterwards you can use the Manage Jenkins button on the sidebar to navigate to the Plugins Manager page to install the Phabricator Differential plugin seen here

jenkins 2 dependency errors loading some plugins

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" )

Jenkins blueocean beta not available

I am trying to install the blueocean beta plugin for my Jenkins server.
The first thing I saw is that I was not getting the proper plugins so I have updated my plugin url to:
http://updates.jenkins-ci.org/experimental/update-center.json
Currently did a clean install without any other plugins, maybe there are some other plugins that are required for the blueocean plugin?
I am using version 2.19.4, so far my experience with Jenkins has been terrible and there does not seem to be a proper support forum so I am asking here.
Hopefully somebody can help me out.
I executed the update (http://updates.jenkins-ci.org/update-center.json), restarted Jenkins (v2.19.4) so "Blue Ocean Beta" showed up at Manage Plugins > Available and I was able to install.

Resources