Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.38 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.38 KB

Spinnaker Pipeline Builder

A Java library to build Spinnaker pipelines and save them as JSON files.

Usage

With Gradle:

dependencies {
    implementation('io.spinnaker.pipeline-builder:pipeline-builder:1.0.0')
}

Build the library

$ ./gradlew build

This will generate two jar files in pipeline-builder/build/libs:

  • pipeline-builder-<version>.jar is the jar file for the library itself.
  • pipeline-builder-<version>-sources.jar contains the source code.

The version is defined in gradle.properties.

Run the tests

$ ./gradlew check

If any test fails, open pipeline-builder/build/reports/tests/test/index.html in a browser to see the details.

Documentation

To generate the javadocs, run ./gradlew javadoc which should create the artifacts in pipeline-builder/build/docs/javadoc.

In addition to the Javadoc, see also the tutorial and sample code in the examples directory, as well as the design principles page for a description of the concepts and techniques used throughout the code base.

Loading the project in IntelliJ IDEA

In IntelliJ IDEA, use File -> New -> Project from Existing Sources... and select the pipeline-builder directory. Then select Import project from external model and select Gradle. Click Create and wait for the project to load.