Im trying to run the test harness and im seeing a ton of these warnings

This says resolved but Im seeing it 
on "org.jenkins-ci.main:jenkins-war:2.235"
https://issues.jenkins-ci.org/browse/JENKINS-60725

# build.gradle
apply plugin: 'groovy'


ext {

    jobDslVersion = '1.77'
}


sourceSets {
    jobs {
        groovy {
            srcDirs 'jobs'
            compileClasspath += main.compileClasspath
        }
        compileClasspath += sourceSets.main.output
        runtimeClasspath += sourceSets.main.output
    }
}


repositories {
    maven {
        url 'https://repo.jenkins-ci.org/public/'
    }
    jcenter()
}


configurations {
    testPlugins {}


    testCompile {
        exclude group: 'xalan'
        exclude group: 'xerces'
    }
}


dependencies {
    compile     "org.apache.ivy:ivy:2.5.0"
    testCompile "org.spockframework:spock-core:1.3-groovy-2.4"


    // Jenkins Test Harness
    testCompile "org.jenkins-ci.main:jenkins-test-harness:2.64"
    testCompile "org.jenkins-ci.main:jenkins-war:2.235"


    // Job DSL plugin including dependencies
    compile     "org.jenkins-ci.plugins:job-dsl-core:${jobDslVersion}"
    testCompile "org.jenkins-ci.plugins:job-dsl:${jobDslVersion}"
    testCompile "org.jenkins-ci.plugins:job-dsl:${jobDslVersion}@jar"
    testCompile "org.jenkins-ci.plugins:structs:1.20@jar"
    testCompile "org.jenkins-ci.plugins:script-security:1.73@jar"


    // Jenkins plugins to install
    testPlugins "org.jenkins-ci.plugins:ghprb:1.31.4"
    testPlugins "com.coravy.hudson.plugins.github:github:1.19.0"
}


task resolveTestPlugins(type: Copy) {
    from configurations.testPlugins
    into new File(sourceSets.test.output.resourcesDir, 'test-dependencies')
    include "*.hpi"
    include "*.jpi"


    doLast {
        def baseNames = source.collect { it.name[0..it.name.lastIndexOf('.'
)-1] }
        new File(destinationDir, 'index').setText(baseNames.join("\n"), 
"UTF-8")
    }
}


test {
    dependsOn tasks.resolveTestPlugins
    inputs.files sourceSets.jobs.groovy.srcDirs


    // set build directory for Jenkins test harness
    systemProperty 'buildDirectory', project.buildDir.absolutePath
}

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c8314bd8-b3ed-4276-a540-193877f3268fo%40googlegroups.com.

Reply via email to