[JIRA] (JENKINS-57781) Add support for generating personal access token via username/password credentials like GitHub Plugin

5 views
Skip to first unread message

parichay.barpanda@gmail.com (JIRA)

unread,
May 31, 2019, 6:21:03 AM5/31/19
to jenkinsc...@googlegroups.com
Parichay Barpanda created an issue
 
Jenkins / Improvement JENKINS-57781
Add support for generating personal access token via username/password credentials like GitHub Plugin
Issue Type: Improvement Improvement
Assignee: Parichay Barpanda
Components: gitlab-branch-source-plugin, gitlab-plugin
Created: 2019-05-31 10:20
Labels: gsoc-2019
Priority: Major Major
Reporter: Parichay Barpanda

1) Add Java 8 functional interfaces for behavioural design pattern

2) Add support for testing connection

3) Make manage hooks independent of credentials

4) Add a `none` option when no credential is added to server configuration

5) The credentials list box also enlists credentials generated for other SCMs, same with Gitea Plugin. See how gitlab-plugin and github-plugin do it. Fixed it by adding a lambda to check if credentials belong our plugin personal Token implementation. Also send PR to Gitea Plugin.

6) Add text descriptions to the text boxes for help like GitLab Plugin.

All features with strikethroughs are implemented.
 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

parichay.barpanda@gmail.com (JIRA)

unread,
May 31, 2019, 6:22:01 AM5/31/19
to jenkinsc...@googlegroups.com
Parichay Barpanda updated an issue
Change By: Parichay Barpanda
1) Add Java 8 functional interfaces for behavioural design pattern

2) -Add support for testing connection-

3) -Make manage hooks independent of credentials-

4) -Add a `none` option when no credential is added
This feature will allow user to server configuration-

5) -The credentials list box also enlists credentials generated for other SCMs, same with Gitea Plugin. See how gitlab-plugin and github-plugin do it.- Fixed it by adding
generate a lambda to check if credentials belong our plugin personal Personal Access Token implementation. Also send PR to Gitea Plugin.

6) -Add text descriptions to the text boxes for help like
on their GitLab Plugin Server from within Jenkins itself . -


All features with strikethroughs are implemented.
 

parichay.barpanda@gmail.com (JIRA)

unread,
May 31, 2019, 6:22:01 AM5/31/19
to jenkinsc...@googlegroups.com
Parichay Barpanda started work on Improvement JENKINS-57781
 
Change By: Parichay Barpanda
Status: Open In Progress

parichay.barpanda@gmail.com (JIRA)

unread,
May 31, 2019, 11:24:01 AM5/31/19
to jenkinsc...@googlegroups.com
Parichay Barpanda resolved as Fixed
 

This has been fixed by adding a `GitLabPersonalAccessTokenCreator` class. Allows adding personal access token credential, either by username/password credentials stored in Jenkins or username/password form at runtime.

Change By: Parichay Barpanda
Status: In Progress Resolved
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages