Skip to content

Commit

Permalink
Merge pull request #181 from jglick/export-JENKINS-50777
Browse files Browse the repository at this point in the history
[JENKINS-50777] Export GitHubSCMSource.{repoOwner,repository}
  • Loading branch information
jglick committed Apr 20, 2018
2 parents 2aaa137 + eef6bd5 commit d1c4689
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -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 {

Expand Down Expand Up @@ -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;
Expand All @@ -389,6 +391,7 @@ public String getRepoOwner() {
* Gets the repository name.
* @return the repository name.
*/
@Exported
@NonNull
public String getRepository() {
return repository;
Expand Down

0 comments on commit d1c4689

Please sign in to comment.