Examples of GithubRepositoryService


Examples of com.groupon.jenkins.github.services.GithubRepositoryService

        return Jenkins.getInstance().getAllItems(DynamicProject.class);
    }

    public DynamicProject createNewProject(GHRepository githubRepository) {
        try {
            new GithubRepositoryService(githubRepository).linkProjectToCi();

            OrganizationContainer folder = this.organizationRepository.getOrCreateContainer(githubRepository.getOwner().getLogin());
            String projectName = githubRepository.getName();
            DynamicProject project = folder.createProject(DynamicProject.class, projectName);
View Full Code Here

Examples of com.groupon.jenkins.github.services.GithubRepositoryService

    private final DynamicBuild build;
    private final GithubRepositoryService githubRepositoryService;

    public DynamicBuildModel(DynamicBuild build) {
        this(build, new GithubRepositoryService(build.getGithubRepoUrl()));
    }
View Full Code Here

Examples of com.groupon.jenkins.github.services.GithubRepositoryService

    public DynamicSubProject getSubProject(Combination subBuildCombination) {
        return Iterables.getOnlyElement(getSubProjects(Arrays.asList(subBuildCombination)));
    }

    public GithubRepositoryService getGithubRepositoryService() {
        return new GithubRepositoryService(getGithubRepoUrl());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.