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

Build Name Setter Plugin is affected by JEP-200 in Jenkins 2.102+

XMLWordPrintable

      Our FreeStyle Jobs which set their build names after the build fail with 2.102. The exception is:

       

      [INFO] ------------------------------------------------------------------------
      Set build name.
      New build name is '15 : CMSD-2740...'
      FATAL: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild
      java.lang.UnsupportedOperationException: Refusing to marshal java.io.PrintStream for security reasons; see https://jenkins.io/redirect/class-filter/

      ...

      Caused: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild

      ...
      Caused: java.io.IOException
      at hudson.XmlFile.write(XmlFile.java:201)
      at hudson.model.Run.save(Run.java:1923)
      at hudson.model.Run.setDisplayName(Run.java:803)
      at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setDisplayName(BuildNameSetter.java:76)

      The full exception is attached to this ticket.

            oleg_nenashev Oleg Nenashev
            hakan Hakan Tandogan
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: