Is prod running an older version of the plugin. Disabling is only a recent feature. Also see https://issues.jenkins-ci.org/plugins/servlet/mobile#issue/JENKINS-46785 for a related request about being able to disable default publishers so that options only specifies the ones you want configured.
(I had a moan session at the plugin author earlier today) On 13 December 2017 at 12:26, <[email protected]> wrote: > Hi > > Does any one knows what provides and how to disable Maven not to trigger > "*Maven > Publishers with default configuration*:" info in Console Output? > > If I run the same code on 2 different Jenkins instances, one of them do > not have this kind of diferenciation between Maven Publishers set by > Default, Global or Pipeline configuration. > > Console ouput from my test Jenkins: > > [withMaven] Maven Publishers with configuration provided by the pipeline: > [org.jenkinsci.plugins.pipeline.maven.publishers.DependenciesFingerprintPublisher[disabled=true, > scopes=[compile, provided, runtime], versions={snapshot:true, > release:false}], > org.jenkinsci.plugins.pipeline.maven.publishers.FindbugsAnalysisPublisher[disabled=true], > > org.jenkinsci.plugins.pipeline.maven.publishers.GeneratedArtifactsPublisher[disabled=true], > > org.jenkinsci.plugins.pipeline.maven.publishers.JGivenTestsPublisher[disabled=true], > > org.jenkinsci.plugins.pipeline.maven.publishers.PipelineGraphPublisher[disabled=true, > scopes=[compile, provided, runtime], versions={snapshot:true, > release:false}, skipDownstreamTriggers=false, lifecycleThreshold=deploy, > ignoreUpstreamTriggers=false], > org.jenkinsci.plugins.pipeline.maven.publishers.JunitTestsPublisher[disabled=true], > > org.jenkinsci.plugins.pipeline.maven.publishers.InvokerRunsPublisher[disabled=true], > > org.jenkinsci.plugins.pipeline.maven.publishers.TasksScannerPublisher[disabled=true], > > org.jenkinsci.plugins.pipeline.maven.publishers.ConcordionTestsPublisher[disabled=true]] > [withMaven] Maven Publishers with configuration defined globally: [] > [withMaven] Maven Publishers with default configuration: > [org.jenkinsci.plugins.pipeline.maven.publishers.DependenciesFingerprintPublisher[disabled=false, > scopes=[compile, provided, runtime], versions={snapshot:true, > release:false}], > org.jenkinsci.plugins.pipeline.maven.publishers.FindbugsAnalysisPublisher[disabled=false], > > org.jenkinsci.plugins.pipeline.maven.publishers.GeneratedArtifactsPublisher[disabled=false], > > org.jenkinsci.plugins.pipeline.maven.publishers.JGivenTestsPublisher[disabled=false], > > org.jenkinsci.plugins.pipeline.maven.publishers.PipelineGraphPublisher[disabled=false, > scopes=[compile, provided, runtime], versions={snapshot:true, > release:false}, skipDownstreamTriggers=false, lifecycleThreshold=deploy, > ignoreUpstreamTriggers=false], > org.jenkinsci.plugins.pipeline.maven.publishers.InvokerRunsPublisher[disabled=false], > > org.jenkinsci.plugins.pipeline.maven.publishers.JunitTestsPublisher[disabled=false], > > org.jenkinsci.plugins.pipeline.maven.publishers.TasksScannerPublisher[disabled=false], > > org.jenkinsci.plugins.pipeline.maven.publishers.ConcordionTestsPublisher[disabled=false]] > [withMaven] Use pipeline defined publisher for 'Dependencies Fingerprint > Publisher' > [withMaven] Use pipeline defined publisher for 'Findbugs Publisher' > [withMaven] Use pipeline defined publisher for 'Generated Artifacts Publisher' > [withMaven] Use pipeline defined publisher for 'JGiven Publisher' > [withMaven] Use pipeline defined publisher for 'Pipeline Graph Publisher' > [withMaven] Use pipeline defined publisher for 'Invoker Publisher' > [withMaven] Use pipeline defined publisher for 'Junit Publisher' > [withMaven] Use pipeline defined publisher for 'Open Task Scanner Publisher' > [withMaven] Use pipeline defined publisher for 'Concordion Publisher' > [withMaven] Skip 'Generated Artifacts Publisher' disabled by configuration > [withMaven] Skip 'Invoker Publisher' disabled by configuration > [withMaven] Skip 'Junit Publisher' disabled by configuration > [withMaven] Skip 'Concordion Publisher' disabled by configuration > [withMaven] Skip 'Dependencies Fingerprint Publisher' disabled by > configuration > [withMaven] Skip 'Findbugs Publisher' disabled by configuration > [withMaven] Skip 'JGiven Publisher' disabled by configuration > [withMaven] Skip 'Pipeline Graph Publisher' disabled by configuration > [withMaven] Skip 'Open Task Scanner Publisher' disabled by configuration > > > withMaven config: > withMaven(mavenSettingsConfig: "${mvnsettingsid}", options: [ > openTasksPublisher(disabled: true), > dependenciesFingerprintPublisher(disabled: true), > artifactsPublisher(disabled: true), > junitPublisher(disabled: true), > jgivenPublisher(disabled: true), > invokerPublisher(disabled: true), > findbugsPublisher(disabled: true), > concordionPublisher(disabled: true), > pipelineGraphPublisher(disabled: true) > ]) { <some code after this> > > On the PROD instance, I do not see this entries in console output: > > Maven Publishers with configuration provided by the pipeline: > [org.jenkinsci.plugins.pipeline.maven.publishers.DependenciesFingerprintPublisher[disabled=true, > scopes=[compile, provided, runtime], versions={snapshot:true, > release:false}], > org.jenkinsci.plugins.pipeline.maven.publishers.FindbugsAnalysisPublisher[disabled=true], > > org.jenkinsci.plugins.pipeline.maven.publishers.GeneratedArtifactsPublisher[disabled=true], > > org.jenkinsci.plugins.pipeline.maven.publishers.JGivenTestsPublisher[disabled=true], > > org.jenkinsci.plugins.pipeline.maven.publishers.PipelineGraphPublisher[disabled=true, > scopes=[compile, provided, runtime], versions={snapshot:true, > release:false}, skipDownstreamTriggers=false, lifecycleThreshold=deploy, > ignoreUpstreamTriggers=false], > org.jenkinsci.plugins.pipeline.maven.publishers.JunitTestsPublisher[disabled=true], > > org.jenkinsci.plugins.pipeline.maven.publishers.InvokerRunsPublisher[disabled=true], > > org.jenkinsci.plugins.pipeline.maven.publishers.TasksScannerPublisher[disabled=true], > > org.jenkinsci.plugins.pipeline.maven.publishers.ConcordionTestsPublisher[disabled=true]] > > Maven Publishers with configuration defined globally: [] > > Maven Publishers with default configuration: > [org.jenkinsci.plugins.pipeline.maven.publishers.DependenciesFingerprintPublisher[disabled=false, > scopes=[compile, provided, runtime], versions={snapshot:true, > release:false}], > org.jenkinsci.plugins.pipeline.maven.publishers.FindbugsAnalysisPublisher[disabled=false], > > org.jenkinsci.plugins.pipeline.maven.publishers.GeneratedArtifactsPublisher[disabled=false], > > org.jenkinsci.plugins.pipeline.maven.publishers.JGivenTestsPublisher[disabled=false], > > org.jenkinsci.plugins.pipeline.maven.publishers.PipelineGraphPublisher[disabled=false, > scopes=[compile, provided, runtime], versions={snapshot:true, > release:false}, skipDownstreamTriggers=false, lifecycleThreshold=deploy, > ignoreUpstreamTriggers=false], > org.jenkinsci.plugins.pipeline.maven.publishers.InvokerRunsPublisher[disabled=false], > > org.jenkinsci.plugins.pipeline.maven.publishers.JunitTestsPublisher[disabled=false], > > org.jenkinsci.plugins.pipeline.maven.publishers.TasksScannerPublisher[disabled=false], > > org.jenkinsci.plugins.pipeline.maven.publishers.ConcordionTestsPublisher[disabled=false]] > > > I only see the skip part: > > [withMaven] Skip 'Generated Artifacts Publisher' disabled by configuration > [withMaven] Skip 'Invoker Publisher' disabled by configuration > [withMaven] Skip 'Junit Publisher' disabled by configuration > [withMaven] Skip 'Concordion Publisher' disabled by configuration > [withMaven] Skip 'Dependencies Fingerprint Publisher' disabled by > configuration > [withMaven] Skip 'Findbugs Publisher' disabled by configuration > [withMaven] Skip 'JGiven Publisher' disabled by configuration > [withMaven] Skip 'Pipeline Graph Publisher' disabled by configuration > [withMaven] Skip 'Open Task Scanner Publisher' disabled by configuration > > > Any idea why this happens? > > -- > 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/08fb3ce3-dbed-403e-ad0d-35ca128e62b3%40googlegroups. > com > <https://groups.google.com/d/msgid/jenkinsci-users/08fb3ce3-dbed-403e-ad0d-35ca128e62b3%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BnPnMz9j00QXMzuhGyiB00vfUtdrr2D6GnhYYsQ3eau60KG1A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
