jenkinsci / jenkinsci/credentials-plugin

[JENKINS-70549] Built-in Credential Plugin issue

Open
#935 6 comments 0 reactions 0 assignees View on GitHub
component:credentials-plugin imported-jira-issue priority:critical resolution:unresolved
Dominant language
Java
Stars
134
Forks
258
Avg merge
48m
Merged PRs (30d)
1

Description

In job configuration we are trying to pass an account to be the login for the Bitbucket repo but have found that the service account running Jenkins is being passed regardless of the specified account passed for the job.

Here is an example of the log showing the wrong account being passed:

gateway.git/info/refs HTTP/1.1" c.a.s.i.s.s.PluginAuthenticationProvider SVC-Hudson-Prod: Authentication failed; user is not licensed 

 

The account to be passed is svc-build-prod

---
Originally reported by jseward, imported from: Built-in Credential Plugin issue


  • status: Open
  • priority: Critical
  • component(s): credentials-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 2025-12-08

Raw content of original issue

In job configuration we are trying to pass an account to be the login for the Bitbucket repo but have found that the service account running Jenkins is being passed regardless of the specified account passed for the job.

Here is an example of the log showing the wrong account being passed:

gateway.git/info/refs HTTP/1.1" c.a.s.i.s.s.PluginAuthenticationProvider SVC-Hudson-Prod: Authentication failed; user is not licensed 

 

The account to be passed is svc-build-prod

  • environment: production 2.375.2

4 attachments

- [image-2023-02-07-07-13-49-216.png](https://issues.jenkins.io/secure/attachment/59940/image-2023-02-07-07-13-49-216.png)
> ![image-2023-02-07-07-13-49-216.png](https://issues.jenkins.io/secure/attachment/59940/image-2023-02-07-07-13-49-216.png)
- [image-2023-02-07-07-14-08-565.png](https://issues.jenkins.io/secure/attachment/59941/image-2023-02-07-07-14-08-565.png)
> ![image-2023-02-07-07-14-08-565.png](https://issues.jenkins.io/secure/attachment/59941/image-2023-02-07-07-14-08-565.png)
- [image-2023-02-07-07-14-20-544.png](https://issues.jenkins.io/secure/attachment/59942/image-2023-02-07-07-14-20-544.png)
> ![image-2023-02-07-07-14-20-544.png](https://issues.jenkins.io/secure/attachment/59942/image-2023-02-07-07-14-20-544.png)
- [image-2023-02-07-07-14-29-487.png](https://issues.jenkins.io/secure/attachment/59943/image-2023-02-07-07-14-29-487.png)
> ![image-2023-02-07-07-14-29-487.png](https://issues.jenkins.io/secure/attachment/59943/image-2023-02-07-07-14-29-487.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.