I just want to not see these warnings without having to filter out all 
other warning output

In my build.gradle I have to set *events 'standard_out'* because if I do 
*showStandardStreams 
true*  to see everything these warnings make the output literally 
unreadable 

This makes it hard to use the test harness and see useful error/warning 
messages for my actual scripts
On Thursday, August 13, 2020 at 5:39:24 AM UTC-4 [email protected] wrote:

> Looks like more a question for the dev list?
> What are you trying to do more precisely?
>
>
> Le ven. 17 juil. 2020 à 17:40, red 888 <[email protected]> a écrit :
>
>> 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 [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/c8314bd8-b3ed-4276-a540-193877f3268fo%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/c8314bd8-b3ed-4276-a540-193877f3268fo%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0f1838a9-333a-4d96-9dc8-7ac594af0c2dn%40googlegroups.com.

Reply via email to