-
Bug
-
Resolution: Fixed
-
Major
-
https://get.jenkins.io/war-stable/2.277.3/jenkins.war
https://plugins.jenkins.io/build-name-setter/ version 2.2.0
java -version
openjdk version "1.8.0_265"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_265-b01)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.265-b01, mixed mode)
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' } } } }
- You will see it no longer wrapping of this long string of text:
- This is problematic when trying to use the `Build with Parameters` page, or when viewing build logs, as this overflowing text gets in the way
- As per https://www.jenkins.io/doc/book/system-administration/diagnosing-errors/#how-to-report-a-bug the list of plugins that reproduces this issue is: 2.263.4.plugins.txt