jenkinsci / jenkinsci/credentials-plugin
[JENKINS-67142] Snippet generator credentials drop-down empty in multibranch branch
- Dominant language
- Java
- Stars
- 134
- Forks
- 258
- Avg merge
- 48m
- Merged PRs (30d)
- 1
Description
If I open the snippet generator using the 'Pipeline Syntax' link found inside a branch of a multibranch project (e.g. my-multibranch-project/master), the credentials drop down is empty:
When I open the snippet generator from the parent (the multibranch folder itself, i.e. my-multibranch-project) - or for any other job - it works as expected.
It does not matter whether I select the git, checkout or withCredentials step. The result is always the same.
It seems like this issue has been around for some time already since I can see this in a rather old LTS version and the latest one. (see environment).
Please let me know in case you need more information.
---
Originally reported by
macdrega, imported from: Snippet generator credentials drop-down empty in multibranch branch
Raw content of original issue
If I open the snippet generator using the 'Pipeline Syntax' link found inside a branch of a multibranch project (e.g. my-multibranch-project/master), the credentials drop down is empty:
![]()
When I open the snippet generator from the parent (the multibranch folder itself, i.e. my-multibranch-project) - or for any other job - it works as expected.
It does not matter whether I select the git, checkout or withCredentials step. The result is always the same.
It seems like this issue has been around for some time already since I can see this in a rather old LTS version and the latest one. (see environment).
Please let me know in case you need more information.
environment
```
Jenkins 2.303.2 / Credentials 2.6.1
Jenkins 2.249.3 / Credentials 2.3.14
```
1 attachment
- [image-2021-11-15-17-42-50-942.png](https://issues.jenkins.io/secure/attachment/56773/image-2021-11-15-17-42-50-942.png)
> 
Contributor guide
Assessment
This issue has not been assessed yet.