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)

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/)

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.mkobit.jenkins.pipelines.shared-library:com.mkobit.jenkins.pipelines.shared-library.gradle.plugin:0.10.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.mkobit.jenkins.pipelines.shared-library")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.mkobit.jenkins.pipelines.shared-library:com.mkobit.jenkins.pipelines.shared-library.gradle.plugin:0.10.1")
      }
    }
    
    apply(plugin = "com.mkobit.jenkins.pipelines.shared-library")
  • Applying plugins to all subprojects .