Package hudson.scm

Examples of hudson.scm.SubversionSCM$ModuleLocation$DescriptorImpl


  public void testRevisionParameter() throws Exception {
    FreeStyleProject p1 = createFreeStyleProject();
    FreeStyleProject p2 = createFreeStyleProject();
    p2.setQuietPeriod(1);

    p1.setScm(new SubversionSCM(
          "https://svn.jenkins-ci.org/trunk/hudson/test-projects/trivial-ant@13000"));

    p2.setScm(new SubversionSCM(
          "https://svn.jenkins-ci.org/trunk/hudson/test-projects/trivial-ant"));

    p1.getPublishersList().add(
        new BuildTrigger(new BuildTriggerConfig(p2.getName(), ResultCondition.SUCCESS,
            new SubversionRevisionBuildParameters())));
View Full Code Here


            remote.append('@').append(((SCMRevisionImpl) revision).getRevision());
        } else if (remote.indexOf("@") != -1) {
            // name contains an @ so need to ensure there is an @ at the end of the name
            remote.append('@');
        }
        return new SubversionSCM(remote.toString(), credentialsId, ".");
    }
View Full Code Here

    public String getUrl() {
        return url;
    }

    @Override protected SCM createSCM() {
        return new SubversionSCM(url); // TODO maybe default to UpdateWithCleanUpdater, etc.
    }
View Full Code Here

TOP

Related Classes of hudson.scm.SubversionSCM$ModuleLocation$DescriptorImpl

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.