Package hudson.plugins.cobertura.renderers

Examples of hudson.plugins.cobertura.renderers.SourceCodePainter


      result.setOwner(null);
      final FilePath paintedSourcesPath = build.getProjectRootDir().child("cobertura");
      paintedSourcesPath.mkdirs();
      // Get System default encoding;
      SourceEncoding encoding = SourceEncoding.getEncoding(System.getProperty("file.encoding"));
      SourceCodePainter painter = new SourceCodePainter(paintedSourcesPath, sourcePaths, result.getPaintedSources(), listener,
          encoding);

      new FilePath(pom.getBasedir()).act(painter);
      if (!build.execute(new MavenCoberturaActionAdder(listener))) {
        listener.getLogger().println("[JENKINS] Unable to add link to cobertura results");
View Full Code Here


        if (result != null) {
            listener.getLogger().println("Cobertura coverage report found.");
            result.setOwner(build);
            final FilePath paintedSourcesPath = new FilePath(new File(build.getProject().getRootDir(), "cobertura"));
            paintedSourcesPath.mkdirs();
            SourceCodePainter painter = new SourceCodePainter(paintedSourcesPath, sourcePaths,
                    result.getPaintedSources(), listener, getSourceEncoding());

            moduleRoot.act(painter);

            final CoberturaBuildAction action = CoberturaBuildAction.load(build, result, healthyTarget,
View Full Code Here

TOP

Related Classes of hudson.plugins.cobertura.renderers.SourceCodePainter

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.