"Option" to disable every publishers/reporters

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Hello,

      In our main build, we build in parallel with many concerns in mind: one branch (of the parallel builds) is the main build where we leave everything enabled, and we have dedicated branches for coverage, release checking, etc.

      As we already do the reporting on the main branch, we disable many reporters on the non-main branches. Currently, it's a bit cumbersome to do this as we have to add as many reporters as there are. Also, if new ones get added in the future, we'll have to add them too to avoid any spurious reporting to starting occurring.

      So, it would be nice to have an option to reverse the default logic: include no reporter at all by default, and then let me specify the ones I need.

      Something like:

      withMaven(...',
                options: ['disableAll: true', openTasksPublisher(disabled: false)]) {
          sh 'mvn ...'
      }
      

      To get only the Tasks publisher report to be created.

      Thanks!

            Assignee:
            Alvaro Lobato
            Reporter:
            Baptiste Mathus
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: