Package hudson.maven

Examples of hudson.maven.MavenModule


    }

    @Override
    public MavenBuild resolveChild(Child child) {
        MavenModuleSet mms = (MavenModuleSet) owner.getProject();
        MavenModule m = mms.getModule(child.name);
        if(m!=null)
            return m.getBuildByNumber(child.build);
        return null;
    }
View Full Code Here


  }

  @Override
  public MavenBuild resolveChild(Child child) {
    MavenModuleSet mms = (MavenModuleSet) owner.getProject();
    MavenModule m = mms.getModule(child.name);
    if (m != null) {
      return m.getBuildByNumber(child.build);
    }
    return null;
  }
View Full Code Here

public class MavenJobMetadataContributor extends JobMetadataContributor {

    @Override
    public List<MetadataValue> getMetaDataFor(AbstractProject job) {
        if (job instanceof MavenModule) {
            MavenModule module = (MavenModule)job;
            return getModuleData(module);
        } else if (job instanceof MavenModuleSet) {
            MavenModuleSet p = (MavenModuleSet)job;
            MavenModule module = p.getRootModule();
            return getModuleData(module);
        }
        return null;
    }
View Full Code Here

     *            Newly completed build.
     */
    @Override
    public void update(final Map<MavenModule, List<MavenBuild>> moduleBuilds, final MavenBuild newBuild) {
        MavenResultAction<T> additionalAction = newBuild.getAction(getIndividualActionType());
        MavenModule project = newBuild.getProject();
        if (additionalAction != null && !getModules().contains(project)) {
            T existingResult = delegate.getResult();
            T additionalResult = additionalAction.getResult();

            if (newBuild.getResult().isBetterThan(Result.FAILURE) || additionalResult.getPluginResult().isWorseOrEqualTo(Result.FAILURE)) {
View Full Code Here

TOP

Related Classes of hudson.maven.MavenModule

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.