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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            hakan Hakan Tandogan created issue -
            hakan Hakan Tandogan made changes -
            Field Original Value New Value
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 19792 ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Lev Mishin [ le0 ] Oleg Nenashev [ oleg_nenashev ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev made changes -
            Summary Build Name Setter Plugin is likely affected by JEP-200 in Jenkins 2.102+ Build Name Setter Plugin is affected by JEP-200 in Jenkins 2.102+
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "https://github.com/jenkinsci/build-name-setter-plugin/pull/17 (Web Link)" [ 19793 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 19792 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is duplicated by JENKINS-48961 [ JENKINS-48961 ]
            oleg_nenashev Oleg Nenashev made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 19816 ]
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 19816 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-48949 [ JENKINS-48949 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-48949 [ JENKINS-48949 ]
            jglick Jesse Glick made changes -
            Labels jep-200 JEP-200
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is duplicated by JENKINS-49181 [ JENKINS-49181 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is duplicated by JENKINS-51634 [ JENKINS-51634 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is duplicated by JENKINS-54362 [ JENKINS-54362 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is duplicated by JENKINS-52973 [ JENKINS-52973 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is duplicated by JENKINS-55810 [ JENKINS-55810 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: