Search Gradle plugins

com.mkobit.jenkins.pipelines.shared-library

Configures and sets up a Gradle project for development and testing of a Jenkins Pipeline shared library (https://jenkins.io/doc/book/pipeline/shared-libraries/)

https://github.com/mkobit/jenkins-pipeline-shared-libraries-gradle-plugin

Sources: https://github.com/mkobit/jenkins-pipeline-shared-libraries-gradle-plugin

Version 0.10.1 (latest)

0.10.1

Created 30 July 2019.

Configures and sets up a Gradle project for development and testing of a Jenkins Pipeline shared library (https://jenkins.io/doc/book/pipeline/shared-libraries/)

Using the plugins DSL:

plugins {
  id("com.mkobit.jenkins.pipelines.shared-library") version "0.10.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.mkobit.jenkins.pipelines:jenkins-pipeline-shared-libraries-gradle-plugin:0.10.1")
  }
}

apply(plugin = "com.mkobit.jenkins.pipelines.shared-library")

Using the plugins DSL:

plugins {
  id "com.mkobit.jenkins.pipelines.shared-library" version "0.10.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.mkobit.jenkins.pipelines:jenkins-pipeline-shared-libraries-gradle-plugin:0.10.1"
  }
}

apply plugin: "com.mkobit.jenkins.pipelines.shared-library"

Learn how to apply plugins to subprojects