Examples of BuildType


Examples of com.groupon.jenkins.dynamic.buildtype.BuildType

            try {
                if (!buildEnvironment.initialize()) {
                    return Result.FAILURE;
                }
                setDescription(getCause().getBuildDescription());
                BuildType buildType = BuildType.getBuildType(getParent());
                Result buildRunResult =   buildType.runBuild(DynamicBuild.this, this, launcher, listener);
                setResult(buildRunResult);
                return buildRunResult;
            } catch (InvalidBuildConfigurationException invalidBuildConfigurationException) {
                for (String error : invalidBuildConfigurationException.getValidationErrors()) {
                    listener.error(error);
View Full Code Here

Examples of org.jfrog.build.api.BuildType

     */
    public void testBuilderSetters() {
        String version = "1.2.0";
        String name = "moo";
        String number = "15";
        BuildType buildType = GRADLE;
        Agent agent = new Agent("pop", "1.6");
        BuildAgent buildAgent = new BuildAgent("rock", "2.6");
        long durationMillis = 6L;
        String principal = "bob";
        String artifactoryPrincipal = "too";
View Full Code Here

Examples of org.netmelody.cieye.spies.teamcity.jsondomain.BuildType

    private BuildTypes buildTypesForProjectsNamed(String... names) {
        final BuildTypes buildTypes = new BuildTypes();
        buildTypes.buildType = newArrayList();
       
        for (String name : names) {
            final BuildType buildType = new BuildType();
            buildType.projectName = name;
            buildTypes.buildType.add(buildType);
        }
        return buildTypes;
    }
View Full Code Here

Examples of org.netmelody.cieye.spies.teamcity.jsondomain.BuildType

        final ProjectDetail projectDetail = new ProjectDetail();
        projectDetail.buildTypes = new BuildTypes();
        projectDetail.buildTypes.buildType = newArrayList();
       
        for (String name : names) {
            final BuildType buildType = new BuildType();
            buildType.name = name;
            projectDetail.buildTypes.buildType.add(buildType);
        }
        return projectDetail;
    }
View Full Code Here

Examples of org.netmelody.cieye.spies.teamcity.jsondomain.BuildType

        return new TargetDigestGroup(digests);
    }

    @Override
    public TargetDetail statusOf(final TargetId target) {
        BuildType buildType = recognisedBuildTypes.get(target);
        if (null == buildType) {
            return null;
        }
        return buildTypeAnalyser.targetFrom(buildType);
    }
View Full Code Here

Examples of org.springframework.ide.eclipse.wizard.gettingstarted.content.BuildType

    RadioGroup buildTypeGroup = getRadioGroups().getGroup("type");
    if (buildTypeGroup!=null) {
      buildTypeGroup.validator(new Validator() {
        @Override
        protected ValidationResult compute() {
          BuildType bt = getBuildType();
          if (!bt.getImportStrategy().isSupported()) {
            //This means some required STS component like m2e or gradle tooling is not installed
            return ValidationResult.error(bt.getNotInstalledMessage());
          }
          return ValidationResult.OK;
        }
      }.dependsOn(buildTypeGroup.getVariable()));
    }
View Full Code Here

Examples of org.springframework.ide.eclipse.wizard.gettingstarted.content.BuildType

  public BuildType getBuildType() {
    RadioGroup buildTypeRadios = getRadioGroups().getGroup("type");
    if (buildTypeRadios!=null) {
      RadioInfo selected = buildTypeRadios.getSelection().selection.getValue();
      if (selected!=null) {
        BuildType bt = KNOWN_TYPES.get(selected.getValue());
        if (bt!=null) {
          return bt;
        } else {
          //Uknown build type, import it as a general project which is better than nothing
          return BuildType.GENERAL;
View Full Code Here

Examples of org.springframework.ide.eclipse.wizard.gettingstarted.content.BuildType

   */
  public boolean performFinish(IProgressMonitor mon) throws InvocationTargetException, InterruptedException {
    //The import will be carried out with whatever the currently selected values are
    // in all the input fields / variables / widgets.
    GSContent g = guide.getValue();
    BuildType bt = buildType.getValue();
    Set<String> codesetNames = codesets.getValue();

    mon.beginTask("Import guide content", codesetNames.size()+1);
    try {
      for (String name : codesetNames) {
        CodeSet cs = g.getCodeSet(name);
        if (cs==null) {
          //Ignore 'invalid' codesets. This is a bit of a hack so that we can retain selected codeset names
          //  across guide selection changes. To do that we remember 'selected' cs names even if they
          //  aren't valid for the current guide. That way the checkbox state stays consistent
          //  when switching between guides (otherwise 'invalid' names would have to be cleared when switching to
          //  a guide).
          mon.worked(1);
        } else {
          IRunnableWithProgress oper = bt.getImportStrategy().createOperation(ImportUtils.importConfig(
              g,
              cs
          ));
          oper.run(new SubProgressMonitor(mon, 1));
        }
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.