Skip to content

mkobit/jenkins-pipeline-shared-library-example

Repository files navigation

Jenkins Pipeline Shared Library Gradle Plugin

CircleCI ZenHub Badge

Note
Contributions for examples are welcome!

Purpose

This repository is an example of a Jenkins Jenkins Pipeline Shared Library that uses the Shared Library Gradle Plugin for development and testing of shared libraries.

Explore this project by:

  • Importing into IntelliJ

  • Activating the resources/idea.gdsl to see how the Jenkins steps auto-completion works

  • Build, test, and run integration tests with ./gradlew build

  • See how test code is generated for simplifying tests (like com.mkobit.jenkins.pipelines.codegen.LocalLibraryRetriever)