Package-level declarations

Types

Link copied to clipboard
abstract class BuildDirJvmArgumentProvider : CommandLineArgumentProvider
Link copied to clipboard
@DisableCachingByDefault(because = "Trivial classpath extraction — UP-TO-DATE checking via @OutputFile is sufficient")
abstract class ExtractDefaultCodeNarcConfig : DefaultTask
Link copied to clipboard
@DisableCachingByDefault(because = "Trivial classpath extraction — UP-TO-DATE checking via @OutputFile is sufficient")
abstract class ExtractJenkinsCodeNarcConfig : DefaultTask
Link copied to clipboard
@CacheableTask
abstract class GenerateLocalLibraryFiles : DefaultTask

Generates source files that allow JenkinsRule integration tests to load the project's shared library.

Link copied to clipboard
abstract class JenkinsPlugins @Inject constructor : Dependencies

Dependency block for declaring Jenkins HPI/JPI plugin dependencies inside sharedLibrary {}.

Link copied to clipboard

Extension added to every JvmTestSuite by the shared-library plugin.

Link copied to clipboard
abstract class JenkinsTestSuiteService : BuildService<BuildServiceParameters.None>
Link copied to clipboard
abstract class JenkinsVersions

Jenkins core version coordinates for the sharedLibrary plugin.

Link copied to clipboard
abstract class JenkinsWarJvmArgumentProvider : CommandLineArgumentProvider
Link copied to clipboard
abstract class PeerLibrarySpec @Inject constructor

Per-declaration metadata for a peer shared library declared in sharedLibrary { dependencies { sharedLibrary(...) } }.

Link copied to clipboard
abstract class SharedLibrariesArgumentProvider : CommandLineArgumentProvider

Emits test.library.N.{name,location,implicit} JVM system properties for every Jenkins shared library on a test task. entries is ordered: the consumer's own library at index 0, followed by peer libraries at indices 1, 2, … in declaration order. The auto-registrar generated by GenerateLocalLibraryFiles iterates contiguous indices at Jenkins startup, so this ordering is part of the contract.

Link copied to clipboard

Default versions shipped with the plugin, corresponding to the Jenkins 2.479.x LTS line.

Link copied to clipboard
abstract class SharedLibraryDependencies @Inject constructor(objects: ObjectFactory) : Dependencies

Dependency block for declaring peer Jenkins shared library dependencies inside sharedLibrary {}.

Link copied to clipboard
data class SharedLibraryEntry(val libraryName: String, val locationPath: String, val implicit: Boolean) : Serializable
Link copied to clipboard
abstract class SharedLibraryExtension @Inject constructor(objects: ObjectFactory, project: Project, problems: Problems)

Extension for the com.mkobit.jenkins.pipelines.shared-library plugin.

Link copied to clipboard
@CacheableTask
abstract class SyncSharedLibrarySource : DefaultTask

Copies src/, vars/, and resources/ into the declared destinationDir.

Properties

Link copied to clipboard

Returns this suite's JenkinsTestSuiteExtension.

Link copied to clipboard

Value of the Category and Usage attributes on the sharedLibrarySourceElements outgoing variant.

Link copied to clipboard

Value of the Usage attribute on the sharedLibrarySourceElements outgoing variant.