-
Notifications
You must be signed in to change notification settings - Fork 145
Description
Hello,
after installing this plugin, several other plugins broke as they lost access to their configured credentials.
This includes SonarQube Scanner plugin that has a server authentication token configured in the Jenkins server config and Dependency-Track plugin that has an API key configured in the Jenkins server config as well.
EDIT: And it also affected SSH credentials managed by the SSH Agent plugin in each job config.
These 2 plugins can't now see their (long time ago) configured credentials and are now only able to be configured with 2 types of OpenShift plugin related credentials.
I found out that this plugin caused creation of the following file (it didn't exist before) which contains the 2 above menitioned openshift credential types in the filter settings so it appears to be related.
credentials-configuration.xml
<?xml version='1.1' encoding='UTF-8'?>
<com.cloudbees.plugins.credentials.CredentialsProviderManager plugin="credentials@2.6.1">
<providerFilter class="com.cloudbees.plugins.credentials.CredentialsProviderFilter$Includes">
<classNames class="linked-hash-set">
<string>io.jenkins.blueocean.rest.impl.pipeline.credential.BlueOceanCredentialsProvider</string>
<string>com.cloudbees.hudson.plugins.folder.properties.FolderCredentialsProvider</string>
<string>com.cloudbees.plugins.credentials.SystemCredentialsProvider$ProviderImpl</string>
<string>com.cloudbees.plugins.credentials.UserCredentialsProvider</string>
</classNames>
</providerFilter>
<typeFilter class="com.cloudbees.plugins.credentials.CredentialsTypeFilter$Includes">
<classNames class="linked-hash-set">
<string>com.openshift.jenkins.plugins.OpenShiftTokenCredentials$DescriptorImpl</string>
<string>org.jenkinsci.plugins.kubernetes.credentials.OpenShiftBearerTokenCredentialImpl$DescriptorImpl</string>
</classNames>
</typeFilter>
<restrictions/>
</com.cloudbees.plugins.credentials.CredentialsProviderManager>
After uninstalling the OpenShift Client plugin and deleting the credentials-configuration.xml file things went back to normal.
Jenkins 2.303.2
OpenShift Client plugin 1.0.35
Credentials plugin 2.6.1 https://plugins.jenkins.io/credentials/
SonarQube Scanner plugin 2.13.1 https://plugins.jenkins.io/sonar/
Dependency-Track plugin 4.0.0 https://plugins.jenkins.io/dependency-track/
SSH Agent plugin 1.23 https://plugins.jenkins.io/ssh-agent/