Package com.cloudbees.jenkins
Class GitHubRepositoryNameContributor.FromSCM
java.lang.Object
com.cloudbees.jenkins.GitHubRepositoryNameContributor
com.cloudbees.jenkins.GitHubRepositoryNameContributor.FromSCM
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
GitHubRepositoryNameContributor
@Extension
public static class GitHubRepositoryNameContributor.FromSCM
extends GitHubRepositoryNameContributor
Default implementation that looks at SCMs
-
Nested Class Summary
Nested classes/interfaces inherited from class com.cloudbees.jenkins.GitHubRepositoryNameContributor
GitHubRepositoryNameContributor.FromSCM
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
addRepositories
(SCM scm, EnvVars env, Collection<GitHubRepositoryName> r) protected EnvVars
void
parseAssociatedNames
(Item item, Collection<GitHubRepositoryName> result) Looks at the definition ofItem
and list up the related github repositories, then puts them into the collection.Methods inherited from class com.cloudbees.jenkins.GitHubRepositoryNameContributor
all, parseAssociatedNames, parseAssociatedNames, parseAssociatedNames, parseAssociatedNames, parseAssociatedNames
-
Constructor Details
-
FromSCM
public FromSCM()
-
-
Method Details
-
parseAssociatedNames
Description copied from class:GitHubRepositoryNameContributor
Looks at the definition ofItem
and list up the related github repositories, then puts them into the collection.- Overrides:
parseAssociatedNames
in classGitHubRepositoryNameContributor
- Parameters:
item
- the item.result
- the collection to add repository names to
-
buildEnv
-
addRepositories
-