1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2025-01-07 13:23:36 +02:00

Merge pull request #102 from ovcharenko-di/fix/jenkins-plugin-manager

fix JENKINS-48885
This commit is contained in:
Nikita Fedkin 2023-07-15 17:48:00 +02:00 committed by GitHub
commit bf26d90271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,21 @@ plugins {
jacoco
id("com.mkobit.jenkins.pipelines.shared-library") version "0.10.1"
id("com.github.ben-manes.versions") version "0.28.0"
id("org.jenkins-ci.jpi") version "0.38.0" apply false
}
tasks {
register<org.jenkinsci.gradle.plugins.jpi.TestDependenciesTask>("resolveIntegrationTestDependencies") {
into {
val javaConvention = project.convention.getPlugin<JavaPluginConvention>()
File("${javaConvention.sourceSets.integrationTest.get().output.resourcesDir}/test-dependencies")
}
configuration = configurations.integrationTestRuntimeClasspath.get()
}
processIntegrationTestResources {
dependsOn("resolveIntegrationTestDependencies")
}
}
java {