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

Tables to divs issue with Build Name and Description Setter plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The https://plugins.jenkins.io/build-name-setter/ appears to have not been updated to be compatible with https://www.jenkins.io/doc/developer/views/table-to-div-migration/

      I found this while diagnosing a client reported issue after they upgraded past version 2.277.3.

      Previous behaviour (Jenkins 2.263.4 LTS)

      If you start a fresh Jenkins 2.263.4 LTS instance with 

      • https://get.jenkins.io/war-stable/2.263.4/jenkins.war
      • "Install suggested plugins" during the setup wizard
      • install https://plugins.jenkins.io/build-name-setter/ version 2.1.0 (the newest compatible plugin version for this core version)
      • Create a Pipeline job with the following content:
      • pipeline {
            agent any
            stages {
                stage('Hello') {
                    steps {
                        echo 'Hello World'
                        buildName 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb'
                    }
                }
            }
        }
      • You will see the (expected) wrapping of this long string of text:

      New behaviour (Jenkins 2.277.3 LTS)

      If you start a fresh Jenkins 2.277.3 LTS instance with 

      • https://get.jenkins.io/war-stable/2.277.3/jenkins.war
      • "Install suggested plugins" during the setup wizard
      • install https://plugins.jenkins.io/build-name-setter/ version 2.2.0 (the latest available version as of now)
      • Create a Pipeline job with the following content (same Pipeline code from 2.263.4):
      • pipeline {
            agent any
            stages {
                stage('Hello') {
                    steps {
                        echo 'Hello World'
                        buildName 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb'
                    }
                }
            }
        }

        Attachments

        1. 2_263_4.png
          2_263_4.png
          61 kB
        2. 2_277_3.png
          2_277_3.png
          58 kB
        3. 2.263.4.plugins.txt
          2 kB

          Activity

          Hide
          adubey alok dubey added a comment -

          Damian Szczepanik, thank you for looking into this bug. A lot of our users have been using the build-name-setter plugin. and it would be a great help if you could provide a quick fix. 

          Show
          adubey alok dubey added a comment - Damian Szczepanik , thank you for looking into this bug. A lot of our users have been using the build-name-setter plugin. and it would be a great help if you could provide a quick fix. 

            People

            Assignee:
            dszczepanik Damian Szczepanik
            Reporter:
            rkivisto Ray Kivisto
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: