Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: gitlab-branch-source-plugin, gitlab-plugin
-
Labels:
-
Similar Issues:
-
Sprint:GSoC 2019. Coding Phase 1
Description
The credentials list box also enlists credentials generated for other SCMs, same with Gitea Plugin. See how gitlab-plugin and github-plugin do it. It should only display the credentials that belong to the GitLab PersonalAccessTokenImpl class rather than a generic StandardCredentials/IdCredentials.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Epic Link | JENKINS-57445 [ 199258 ] |
Description |
1) Add Java 8 functional interfaces for behavioural design pattern 6) -Add text descriptions to the text boxes for help like GitLab Plugin.- All features with strikethroughs are implemented. |
The credentials list box also enlists credentials generated for other SCMs, same with Gitea Plugin. See how gitlab-plugin and github-plugin do it. It should only display the credentials that belong to the GitLab PersonalAccessTokenImpl class rather than a generic StandardCredentials/IdCredentials. |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Sprint | GSoC 2019. Coding Phase 1 [ 686 ] |
Issue Type | Improvement [ 4 ] | Bug [ 1 ] |
Fixed it by adding a lambda to check if credentials is an object Personal Access Token implementation class defined inside GitLab Branch Source Plugin.