Reputation: 656
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;
jenkins
from http://pkg.jenkins-ci.org/debian-stable/binary/jenkins_1.651.3_all.deb
.jenkins_1.651.3_all.deb
on Ubuntu 16.04
.credentials
plugin version is 1.18
.rm -rf /var/lib/jenkins/plugins/credentials*
.https://updates.jenkins-ci.org/download/plugins/credentials/2.1.13/credentials.hpi
.service jenkins restart
.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)?
Upvotes: 0
Views: 1335
Reputation: 656
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.
Upvotes: 0
Reputation: 529
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.
Upvotes: 0