Search Gradle plugins

nl.ikoodi.jenkins.jobdsl

Owner: Patrick

A Gradle plugin that let's you build and generate your Jenkins JobDSL scripts. Note: This repository is DEPRECATED, as the Gradle Plugins Portal (https://plugins.gradle.org) now has its own, simplified, way of publishing Gradle plugins. So, please go to https://plugins.gradle.org/plugin/nl.ikoodi.jenkins.jobdsl to find the latest version of this plugin

https://github.com/pvdissel/gradle-jenkins-jobdsl

Version 0.4.1 (latest)

Created 17 April 2015.

This plugin version will no longer resolve after JCenter becomes a permanent redirect to Maven Central as it uses dependencies only found in JCenter. See the following blog post for details: https://blog.gradle.org/portal-jcenter-impact A Gradle plugin that let's you build and generate your Jenkins JobDSL scripts

Add this plugin to your build using the plugins DSL:

plugins {
  id("nl.ikoodi.jenkins.jobdsl") version "0.4.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("nl.ikoodi.jenkins.jobdsl:nl.ikoodi.jenkins.jobdsl.gradle.plugin:0.4.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("nl.ikoodi.jenkins.jobdsl")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("nl.ikoodi.jenkins.jobdsl:nl.ikoodi.jenkins.jobdsl.gradle.plugin:0.4.1")
      }
    }
    
    apply(plugin = "nl.ikoodi.jenkins.jobdsl")
  • Applying plugins to all subprojects .