"Added a missed class for missing class telemetry"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

"Added a missed class for missing class telemetry"

red 888
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"

# 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c8314bd8-b3ed-4276-a540-193877f3268fo%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: "Added a missed class for missing class telemetry"

Baptiste MATHUS
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 <[hidden email]> 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"

# 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c8314bd8-b3ed-4276-a540-193877f3268fo%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7BDVoAD4YdJVYdFubnR3e_ZCX_nUnXRaKwM--7pT81bg%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: "Added a missed class for missing class telemetry"

red 888
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 [hidden email] 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 <[hidden email]> 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"

# 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c8314bd8-b3ed-4276-a540-193877f3268fo%40googlegroups.com.

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