Skip to content

Commit

Permalink
Merge pull request #102 from ovcharenko-di/fix/jenkins-plugin-manager
Browse files Browse the repository at this point in the history
fix JENKINS-48885
  • Loading branch information
nixel2007 authored Jul 15, 2023
2 parents b8dc1a8 + 15bcd1e commit bf26d90
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit bf26d90

Please sign in to comment.