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

PegDown formatter causes deprecation message in jenkins log

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Trivial Trivial
    • None
    • Jenkins 1.599
      PegDown formatter 1.3

      When the PegDown formatter is running in Jenkins 1.599, a message is written to the Jenkins log (/var/log/jenkins/jenkins.log on my Ubuntu 14.04 server) which says:

      WARNING: 'stapler-class' is deprecated: org.jenkins_ci.plugins.pegdown_formatter.PegDownFormatter

      Another message is written a little earlier in the log which says:

      WARNING: 'stapler-class' is deprecated: hudson.security.PAMSecurityRealm

      The warning does not seem to cause any harm to functionality. The warning does not appear in Jenkins 1.580.3 log files, only in the more recent 1.599 log file.

          [JENKINS-27049] PegDown formatter causes deprecation message in jenkins log

          Daniel Beck added a comment -

          Not an issue in PegDown – it appears in core, and core-bundled plugins as well – it's just that Stapler sucks so much right now.
          https://github.com/stapler/stapler/pull/39#issuecomment-64078010

          Daniel Beck added a comment - Not an issue in PegDown – it appears in core, and core-bundled plugins as well – it's just that Stapler sucks so much right now. https://github.com/stapler/stapler/pull/39#issuecomment-64078010

          Daniel Beck added a comment -

          Should be fixed in core 1.600 – could you confirm?

          Daniel Beck added a comment - Should be fixed in core 1.600 – could you confirm?

          Mark Waite added a comment -

          I reviewed the jenkins.log on a Debian testing machine running JDK 7 and Jenkins 1.600 with the PegDown plugin. No mention of the stapler-class warning in the log file.

          Mark Waite added a comment - I reviewed the jenkins.log on a Debian testing machine running JDK 7 and Jenkins 1.600 with the PegDown plugin. No mention of the stapler-class warning in the log file.

          Mark Waite added a comment -

          After further interactions with the 1.600 Jenkins server, I see two stapler-class deprecation messages in the log file:

          WARNING: 'stapler-class' is deprecated: com.cloudbees.plugins.deployer.impl.run.RunHostImpl
          

          and

          WARNING: 'stapler-class' is deprecated: hudson.plugins.xshell.XShellBuilder
          

          Mark Waite added a comment - After further interactions with the 1.600 Jenkins server, I see two stapler-class deprecation messages in the log file: WARNING: 'stapler-class' is deprecated: com.cloudbees.plugins.deployer.impl.run.RunHostImpl and WARNING: 'stapler-class' is deprecated: hudson.plugins.xshell.XShellBuilder

            bap bap
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: