Package hudson.model.Cause

Examples of hudson.model.Cause.LegacyCodeCause


  /**
   * @deprecated
   *    Use {@link #scheduleBuild(ParametersAction, Cause)}.  Since 1.283
   */
    public boolean scheduleBuild(ParametersAction parameters) {
      return scheduleBuild(parameters, new LegacyCodeCause());
    }
View Full Code Here


                new StringParameterDefinition("VAR_MAVEN", "XXX"),
                new StringParameterDefinition("VAR_JAVA", "XXX")));
        project.getBuildersList().add(new Maven("--help", varMaven.getName()));
        project.setJDK(varJDK);

        FreeStyleBuild build = project.scheduleBuild2(0, new LegacyCodeCause(),
                new ParametersAction(
                        new StringParameterValue("VAR_MAVEN", mavenVar),
                        new StringParameterValue("VAR_JAVA", javaVar))).get();

        assertBuildStatusSuccess(build);
View Full Code Here

  /**
   * @deprecated
   *    Use {@link #scheduleBuild(Cause)}.  Since 1.283
   */
    public boolean scheduleBuild() {
      return scheduleBuild(new LegacyCodeCause());
    }
View Full Code Here

  /**
   * @deprecated
   *    Use {@link #scheduleBuild(int, Cause)}.  Since 1.283
   */
    public boolean scheduleBuild(int quietPeriod) {
      return scheduleBuild(quietPeriod, new LegacyCodeCause());
    }
View Full Code Here

     * Production code shouldn't be using this, but for tests this is very convenient, so this isn't marked
     * as deprecated.
     */
    @SuppressWarnings("deprecation")
    public Future<R> scheduleBuild2(int quietPeriod) {
        return scheduleBuild2(quietPeriod, new LegacyCodeCause());
    }
View Full Code Here

  /**
   * @deprecated
   *    Use {@link #scheduleBuild(ParametersAction, Cause)}.  Since 1.283
   */
    public boolean scheduleBuild(ParametersAction parameters) {
      return scheduleBuild(parameters, new LegacyCodeCause());
    }
View Full Code Here

  /**
   * @deprecated
   *    Use {@link #scheduleBuild(Cause)}.  Since 1.283
   */
    public boolean scheduleBuild() {
      return scheduleBuild(new LegacyCodeCause());
    }
View Full Code Here

  /**
   * @deprecated
   *    Use {@link #scheduleBuild(int, Cause)}.  Since 1.283
   */
    public boolean scheduleBuild(int quietPeriod) {
      return scheduleBuild(quietPeriod, new LegacyCodeCause());
    }
View Full Code Here

     * <p>
     * Production code shouldn't be using this, but for tests this is very convenient, so this isn't marked
     * as deprecated.
     */
    public Future<R> scheduleBuild2(int quietPeriod) {
        return scheduleBuild2(quietPeriod, new LegacyCodeCause());
    }
View Full Code Here

TOP

Related Classes of hudson.model.Cause.LegacyCodeCause

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.