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

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

    • 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
      

          [JENKINS-26294] WARNING: 'stapler-class' is deprecated is shown for almost every extension

          Ulli Hafner created issue -
          Ulli Hafner made changes -
          Link New: This issue is related to JENKINS-25403 [ JENKINS-25403 ]
          Ulli Hafner made changes -
          Summary Original: WARNING: 'stapler-class' is deprecated is shown on almost every extension New: WARNING: 'stapler-class' is deprecated is shown for almost every extension
          Ulli Hafner made changes -
          Description Original: 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 is something inherited from core. So it is not clear what to do as a plg-in developer.
          New: 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

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

          {noformat}
          Ulli Hafner made changes -
          Description Original: 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

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

          {noformat}
          New: 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

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

          Daniel Beck added a comment -

          Daniel Beck added a comment - https://github.com/jenkinsci/jenkins/pull/1443 will fix this.
          Daniel Beck made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-27049 [ JENKINS-27049 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 160355 ] New: JNJira + In-Review [ 196397 ]

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

              Created:
              Updated:
              Resolved: