Anton Johansson :: Build Markdown Generator

Generates markdown for build reports, containing for example JUnit report, code coverage report, etc.

License

License

Categories

Categories

Ant Build Tools
GroupId

GroupId

com.anton-johansson
ArtifactId

ArtifactId

build-markdown-generator
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

pom
Description

Description

Anton Johansson :: Build Markdown Generator
Generates markdown for build reports, containing for example JUnit report, code coverage report, etc.
Project Organization

Project Organization

Source Code Management

Source Code Management

https://github.com/anton-johansson/build-report-markdown-generator

Download build-markdown-generator

How to add to project

<!-- https://jarcasting.com/artifacts/com.anton-johansson/build-markdown-generator/ -->
<dependency>
    <groupId>com.anton-johansson</groupId>
    <artifactId>build-markdown-generator</artifactId>
    <version>1.0.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.anton-johansson/build-markdown-generator/
implementation 'com.anton-johansson:build-markdown-generator:1.0.0'
// https://jarcasting.com/artifacts/com.anton-johansson/build-markdown-generator/
implementation ("com.anton-johansson:build-markdown-generator:1.0.0")
'com.anton-johansson:build-markdown-generator:pom:1.0.0'
<dependency org="com.anton-johansson" name="build-markdown-generator" rev="1.0.0">
  <artifact name="build-markdown-generator" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.anton-johansson', module='build-markdown-generator', version='1.0.0')
)
libraryDependencies += "com.anton-johansson" % "build-markdown-generator" % "1.0.0"
[com.anton-johansson/build-markdown-generator "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • build-markdown-generator-core
  • build-markdown-generator-maven-plugin

Build Markdown Generator

Build Status License

Generates markdown for build reports, containing for example JUnit report, code coverage report, etc. A success example result can be found here and a failure example result can be found here.

Supported reports

  • Checkstyle
  • Cobertura
  • JUnit

Entry points

Also see the samples.

Maven

$ mvn com.anton-johansson:build-markdown-generator-maven-plugin:1.0.0:generate \
      -DbuildMarkdownGenerator.detailedReportURL=https://my-jenkins-instance/job/build/130/ \
      -DbuildMarkdownGenerator.checkstyleReportPatterns=**/target/checkstyle-result.xml \
      -DbuildMarkdownGenerator.checkstyleDetailedReportURL=https://my-jenkins-instance/job/build/130/checkstyleResult/ \
      -DbuildMarkdownGenerator.junitReportPatterns=**/target/surefire-reports/TEST-*.xml \
      -DbuildMarkdownGenerator.junitDetailedReportURL=https://my-jenkins-instance/job/build/130/testReport/ \
      -DbuildMarkdownGenerator.junitDetailedReportForTestURL=https://my-jenkins-instance/job/build/130/testReport/[packageName]/[simpleClassName]/[testName] \
      -DbuildMarkdownGenerator.coberturaCoverageReport=target/site/cobertura/coverage.xml \
      -DbuildMarkdownGenerator.coberturaLineThreshold=90 \
      -DbuildMarkdownGenerator.coberturaBranchThreshold=80 \
      -DbuildMarkdownGenerator.coberturaDetailedReportURL=https://my-jenkins-instance/job/build/130/cobertura/

Release instructions

$ git checkout ${commitSHA}
$ mvn versions:set -DnewVersion=1.0.0 -DgenerateBackupPoms=false

Update <scm><tag>v1.0.0</tag></scm> (would be nice if we could find a Maven goal for this)

$ git add .
$ git commit -m "Set new version"
$ git tag v1.0.0
$ git push --tags
$ mvn deploy -Psonatype-oss-release -Pprivate

License

Apache License © Anton Johansson

com.anton-johansson

Viskan System AB

Versions

Version
1.0.0