[JIRA] (JENKINS-45860) Support traits for ScmNavigators

0 views
Skip to first unread message

mail@daniel-spilker.com (JIRA)

unread,
Feb 9, 2018, 3:30:02 PM2/9/18
to jenkinsc...@googlegroups.com
Daniel Spilker reopened an issue
 
Jenkins / New Feature JENKINS-45860
Support traits for ScmNavigators
Change By: Daniel Spilker
Resolution: Fixed
Status: Resolved Reopened
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

jglick@cloudbees.com (JIRA)

unread,
Mar 14, 2018, 9:44:02 AM3/14/18
to jenkinsc...@googlegroups.com
Jesse Glick assigned an issue to Daniel Spilker
Change By: Jesse Glick
Assignee: Daniel Spilker

jglick@cloudbees.com (JIRA)

unread,
Mar 14, 2018, 9:45:03 AM3/14/18
to jenkinsc...@googlegroups.com

jglick@cloudbees.com (JIRA)

unread,
Mar 14, 2018, 9:45:04 AM3/14/18
to jenkinsc...@googlegroups.com
Jesse Glick started work on New Feature JENKINS-45860
 
Change By: Jesse Glick
Status: Open In Progress

jglick@cloudbees.com (JIRA)

unread,
Mar 14, 2018, 9:45:06 AM3/14/18
to jenkinsc...@googlegroups.com

scm_issue_link@java.net (JIRA)

unread,
Apr 17, 2018, 10:58:02 AM4/17/18
to jenkinsc...@googlegroups.com
SCM/JIRA link daemon commented on New Feature JENKINS-45860
 
Re: Support traits for ScmNavigators

Code changed in jenkins
User: Daniel Spilker
Path:
src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java
src/test/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigatorTraitsTest.java
http://jenkins-ci.org/commit/github-branch-source-plugin/745dfbfe4f8002b085386e8da8a9416a964472d2
Log:
added a workaround for JENKINS-26535

[FIXES JENKINS-45860]

scm_issue_link@java.net (JIRA)

unread,
Apr 17, 2018, 10:58:04 AM4/17/18
to jenkinsc...@googlegroups.com

Code changed in jenkins
User: Robert Sandell
Path:
src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java
src/test/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigatorTraitsTest.java
http://jenkins-ci.org/commit/github-branch-source-plugin/2aaa13771c05c784bfff060856ed6c4d055bf6f1
Log:
Merge pull request #174 from daspilker/JENKINS-45860

JENKINS-45860 added a workaround for JENKINS-26535

Compare: https://github.com/jenkinsci/github-branch-source-plugin/compare/66373c2859f1...2aaa13771c05

amuniz@cloudbees.com (JIRA)

unread,
Apr 25, 2018, 5:08:03 AM4/25/18
to jenkinsc...@googlegroups.com
Change By: Antonio Muñiz
Status: In Review Closed
Resolution: Fixed

amuniz@cloudbees.com (JIRA)

unread,
Apr 25, 2018, 5:10:05 AM4/25/18
to jenkinsc...@googlegroups.com
Antonio Muñiz updated an issue
Change By: Antonio Muñiz
Component/s: bitbucket-branch-source-plugin
Component/s: github-branch-source-plugin

amuniz@cloudbees.com (JIRA)

unread,
Apr 25, 2018, 5:10:05 AM4/25/18
to jenkinsc...@googlegroups.com
Antonio Muñiz updated an issue
Change By: Antonio Muñiz
Component/s: github-branch-source-plugin

rene.scheibe@gmail.com (JIRA)

unread,
Jun 24, 2019, 5:35:03 PM6/24/19
to jenkinsc...@googlegroups.com

rene.scheibe@gmail.com (JIRA)

unread,
Jun 24, 2019, 5:36:02 PM6/24/19
to jenkinsc...@googlegroups.com
René Scheibe edited a comment on New Feature JENKINS-45860


Currently all available traits (I guess {{SCMTrait}}s) are shown in multiple places, even not all of them are suitable the context.

For example having [https://plugins.jenkins.io/github-branch-source] and [https://plugins.jenkins.io/cloudbees-bitbucket-branch-source] installed:

*SCMSources*
- [http://localhost:8080/plugin/job-dsl/api-viewer/index.html#method/jenkins.scm.api.SCMSource$$List.github|http://localhost:8080/plugin/job-dsl/api-viewer/index.html#method/jenkins.scm.api.SCMSource$$List.bitbucket]
- [http://localhost:8080/plugin/job-dsl/api-viewer/index.html#method/jenkins.scm.api.SCMSource$$List.Bitbucket|http://localhost:8080/plugin/job-dsl/api-viewer/index.html#method/jenkins.scm.api.SCMSource$$List.bitbucket]

*ScmNavigatorsContext*
- [http://localhost:8080/plugin/job-dsl/api-viewer/index.html#method/javaposse.jobdsl.dsl.helpers.workflow.ScmNavigatorsContext.Bitbucket|http://localhost:8080/plugin/job-dsl/api-viewer/index.html#method/javaposse.jobdsl.dsl.helpers.workflow.ScmNavigatorsContext.bitbucket]
- [http://localhost:8080/plugin/job-dsl/api-viewer/index.html#method/javaposse.jobdsl.dsl.helpers.workflow.ScmNavigatorsContext.github]

rene.scheibe@gmail.com (JIRA)

unread,
Jun 24, 2019, 5:36:04 PM6/24/19
to jenkinsc...@googlegroups.com
René Scheibe edited a comment on New Feature JENKINS-45860
Currently all available traits (I guess SCMTraits) are shown in multiple places, even not all of them are suitable for the context.

rene.scheibe@gmail.com (JIRA)

unread,
Jun 24, 2019, 5:36:04 PM6/24/19
to jenkinsc...@googlegroups.com
René Scheibe edited a comment on New Feature JENKINS-45860
Currently all available traits (I guess {{SCMTrait}}s SCMTraits ) are shown in multiple places, even not all of them are suitable the context.

rene.scheibe@gmail.com (JIRA)

unread,
Jun 24, 2019, 5:37:01 PM6/24/19
to jenkinsc...@googlegroups.com
René Scheibe edited a comment on New Feature JENKINS-45860
Currently all available traits (I guess SCMTraits) are shown in multiple places, even if not all of them are suitable for the context.

rene.scheibe@gmail.com (JIRA)

unread,
Jun 24, 2019, 5:38:01 PM6/24/19
to jenkinsc...@googlegroups.com
René Scheibe edited a comment on New Feature JENKINS-45860
[~daspilker] do you think it's also feasible to filter the traits shown in the Job DSL API viewer? Maybe using something like {{getTraitsDescriptorLists}} [here|https://github.com/jenkinsci/bitbucket-branch-source-plugin/blob/cloudbees-bitbucket-branch-source-2.4.5/src/main/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMNavigator.java#L634-L666] and [here|https://github.com/jenkinsci/github-branch-source-plugin/blob/github-branch-source-2.5.3/src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java#L1404-L1434].

Currently all available traits (I guess SCMTraits) are shown in multiple places, even if not all of them are suitable for the context.

For example having [https://plugins.jenkins.io/github-branch-source] and [https://plugins.jenkins.io/cloudbees-bitbucket-branch-source] installed:

* SCMSources SCMSource *

rene.scheibe@gmail.com (JIRA)

unread,
Jun 24, 2019, 5:41:02 PM6/24/19
to jenkinsc...@googlegroups.com
René Scheibe edited a comment on New Feature JENKINS-45860
[~daspilker] do you think it's also feasible to filter the traits shown in the Job DSL API viewer? Maybe using something like {{getTraitsDescriptorLists}} [here|https://github.com/jenkinsci/bitbucket-branch-source-plugin/blob/cloudbees-bitbucket-branch-source-2.4.5/src/main/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMNavigator.java#L634-L666] and [here|https://github.com/jenkinsci/github-branch-source-plugin/blob/github-branch-source-2.5.3/src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java#L1404-L1434].

Currently all available traits (I guess SCMTraits) are shown in multiple places, even if not all of them are suitable for the context.

For example having [https://plugins.jenkins.io/github-branch-source] and [https://plugins.jenkins.io/cloudbees-bitbucket-branch-source] installed:

*SCMSource*

rene.scheibe@gmail.com (JIRA)

unread,
Jun 24, 2019, 5:43:02 PM6/24/19
to jenkinsc...@googlegroups.com
René Scheibe edited a comment on New Feature JENKINS-45860
[~daspilker] do you think it's also feasible to filter the traits shown in the Job DSL API viewer? Maybe using something like {{getTraitsDescriptorLists}} [here|https://github.com/jenkinsci/bitbucket-branch-source-plugin/blob/cloudbees-bitbucket-branch-source-2.4.5/src/main/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMNavigator.java#L634-L666] and [here|https://github.com/jenkinsci/github-branch-source-plugin/blob/github-branch-source-2.5.3/src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java#L1404-L1434].

Currently all available traits (I guess SCMTraits) are shown in multiple places, even if not all of them are suitable for the context.

rene.scheibe@gmail.com (JIRA)

unread,
Jun 24, 2019, 5:44:02 PM6/24/19
to jenkinsc...@googlegroups.com
René Scheibe edited a comment on New Feature JENKINS-45860
[~daspilker] do you think it's also feasible to filter the traits shown in the Job DSL API viewer? Maybe using something like {{getTraitsDescriptorLists}} [here|https://github.com/jenkinsci/bitbucket-branch-source-plugin/blob/cloudbees-bitbucket-branch-source-2.4.5/src/main/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMNavigator.java#L634-L666] and [here|https://github.com/jenkinsci/github-branch-source-plugin/blob/github-branch-source-2.5.3/src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java#L1404-L1434].

Currently all available traits (I guess SCMTraits) are shown in multiple places, even if not all of them are suitable for the context.

Reply all
Reply to author
Forward
0 new messages