Package hudson.plugins.git.util

Examples of hudson.plugins.git.util.DefaultBuildChooser


        this(
            DescriptorImpl.createRepositoryConfigurations(new String[]{repositoryUrl}, new String[]{null},
                new String[]{null}),
            Collections.singletonList(new BranchSpec("")),
            new PreBuildMergeOptions(), false, Collections.<SubmoduleConfig>emptyList(), false,
            false, new DefaultBuildChooser(), null, null, false, null,
            null, null, false, false, null, null, false, null);
    }
View Full Code Here


                    }
                }
            }
        }
        if (buildChooser == null) {
            buildChooser = new DefaultBuildChooser();
        }
        buildChooser.gitSCM = this;

        return this;
    }
View Full Code Here

        SubmoduleConfig submoduleConfig = new SubmoduleConfig();
        submoduleConfig.setSubmoduleName("submoduleName");
        configs.add(submoduleConfig);

        defaultGitSCM = new GitSCM(repos, GitSCM.DescriptorImpl.createBranches(new String[]{"master"}),
            new PreBuildMergeOptions(), false, configs, false, false, new DefaultBuildChooser(),
            new GithubWeb("http://git.com"), "git", false, "excludedRegions", "excludedUsers", "localBranch",
            false, false, "user.name", "user.email", true, "includedRegions");
    }
View Full Code Here

        config.setString(GitRepository.REMOTE_SECTION, "name1", "fetch", "refSpec1");
        List<RemoteConfig> repos1 = GitRepository.getAllGitRepositories(config);

        List<BranchSpec> branches = GitSCM.DescriptorImpl.createBranches(new String[]{"master"});
        GitRepositoryBrowser browser = new GithubWeb("http://git.com");
        BuildChooser buildChooser = new DefaultBuildChooser();
        PreBuildMergeOptions options = new PreBuildMergeOptions();
        PreBuildMergeOptions options1 = new PreBuildMergeOptions();
        options1.setMergeTarget("target");

        Collection<SubmoduleConfig> configs = new ArrayList<SubmoduleConfig>();
View Full Code Here

        FreeStyleProject project = createFreeStyleProject();
        project.setScm(new GitSCM(
            createRemoteRepositories(relativeTargetDir),
            Collections.singletonList(new BranchSpec(branchString)),
            new PreBuildMergeOptions(), false, Collections.<SubmoduleConfig>emptyList(), false,
            false, new DefaultBuildChooser(), null, null, authorOrCommitter, relativeTargetDir,
            excludedRegions, excludedUsers, localBranch, false, false, null, null, false));
        project.getBuildersList().add(new CaptureEnvironmentBuilder());
        return project;
    }
View Full Code Here

        FreeStyleProject project = createFreeStyleProject();
        project.setScm(new GitSCM(
            createRemoteRepositories(relativeTargetDir),
            Collections.singletonList(new BranchSpec(branchString)),
            new PreBuildMergeOptions(), false, Collections.<SubmoduleConfig>emptyList(), false,
            false, new DefaultBuildChooser(), null, null, authorOrCommitter,
            excludedRegions, excludedUsers, localBranch, false, false, null, null, false, includedRegions));
        project.getBuildersList().add(new CaptureEnvironmentBuilder());
        return project;
    }
View Full Code Here

TOP

Related Classes of hudson.plugins.git.util.DefaultBuildChooser

Copyright © 2018 www.massapicom. 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.