Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26294

WARNING: 'stapler-class' is deprecated is shown for almost every extension

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • core
    • None

      Due to commit https://github.com/stapler/stapler/commit/82b0a45924b083796d04c94661bbef7b80e2d2bf the Jenkins log fills with a lot of messages. Seems that almost every plug-in/extension is affected.

      Example log:
      https://jenkins.ci.cloudbees.com/job/core/job/acceptance-test-harness/lastCompletedBuild/testReport/plugins/CheckStylePluginTest/should_collect_warnings_in_build/

      In my plug-ins I don't use stapler-class explicitely, this might be something inherited from core. So it is not clear what to do as a plug-in developer.

      Is there anything I can do here in my plug-in? One affected plug-in is checkstyle: here I get the messages for

      master54521|WARNING: 'stapler-class' is deprecated: hudson.plugins.checkstyle.CheckStylePublisher
      master52856|WARNING: 'stapler-class' is deprecated: hudson.plugins.checkstyle.CheckStyleColumn
      

            Unassigned Unassigned
            drulli Ulli Hafner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: