Skip to content
Permalink
Browse files
Merge pull request #181 from jglick/export-JENKINS-50777
[JENKINS-50777] Export GitHubSCMSource.{repoOwner,repository}
  • Loading branch information
jglick committed Apr 20, 2018
2 parents 2aaa137 + eef6bd5 commit d1c4689caf4895db7219788bc09b8058f5a5db84
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
@@ -133,6 +133,7 @@
import org.kohsuke.stapler.interceptor.RequirePOST;

import static hudson.model.Items.XSTREAM2;
import org.kohsuke.stapler.export.Exported;

public class GitHubSCMSource extends AbstractGitSCMSource {

@@ -380,6 +381,7 @@ public void setCredentialsId(@CheckForNull String credentialsId) {
* Gets the repository owner.
* @return the repository owner.
*/
@Exported
@NonNull
public String getRepoOwner() {
return repoOwner;
@@ -389,6 +391,7 @@ public String getRepoOwner() {
* Gets the repository name.
* @return the repository name.
*/
@Exported
@NonNull
public String getRepository() {
return repository;

0 comments on commit d1c4689

Please sign in to comment.