-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.53, Pipeline: Stage View Plugin v2.6
This is a similar issue as #39445 but in my case it appears the the beginning of the stages (the space added also depends on number of stages as mentioned on the previous issue) and only when using this as mainscript:
def stagename(def proj_name){ stage ("$proj_name"){ node('master'){ build "$proj_name" } } } stagename('Freestyle-Test1-Echo') stagename('Freestyle-Test2-Echo-Cat') stagename('Freestyle-Test3-Echo')
No issue is seen when using:
node('master'){ stage ('number 1'){ build 'Freestyle-Test1-Echo' build 'Freestyle-Test2-Echo-Cat' } stage ('number 2'){ build 'Freestyle-Test3-Echo' } }
Using vagrant with hashicorp/precise64 as base image on Virtualbox, Jenkins LTS installed from package manager with deb http://pkg.jenkins.io/debian-stable binary/ on my apt sources.
Stage views from several jobs are also displaying this whitespace, even when the job wasn't run for some time.
Issue was present before I updated jenkins and all plugins. Still persists after update.
[JENKINS-42025] Pipeline stage view add whitespace
Description |
Original:
This is a similar issue as [this|https://issues.jenkins-ci.org/browse/JENKINS-39445] but in my case it appears the the beginning of the stages (the space added also depends on number of stages as mentioned on the previous issue) and only when using this as mainscript: {noformat} def stagename(def proj_name){ stage ("$proj_name"){ node('master'){ build "$proj_name" } } } stagename('Freestyle-Test1-Echo') stagename('Freestyle-Test2-Echo-Cat') stagename('Freestyle-Test3-Echo') {noformat} No issue is seen when using: {noformat} node('master'){ stage ('number 1'){ build 'Freestyle-Test1-Echo' build 'Freestyle-Test2-Echo-Cat' } stage ('number 2'){ build 'Freestyle-Test3-Echo' } } {noformat} Using vagrant with hashicorp/precise64 as base image on Virtualbox, Jenkins LTS installed from package manager with *deb http://pkg.jenkins.io/debian-stable binary/* on my apt sources. Stage views from several jobs are also displaying this whitespace, even when the job wasn't run for some time. Issue was present before I updated jenkins and all plugins. Still persists after update. |
New:
This is a similar issue as #39445 but in my case it appears the the beginning of the stages (the space added also depends on number of stages as mentioned on the previous issue) and only when using this as mainscript: {noformat} def stagename(def proj_name){ stage ("$proj_name"){ node('master'){ build "$proj_name" } } } stagename('Freestyle-Test1-Echo') stagename('Freestyle-Test2-Echo-Cat') stagename('Freestyle-Test3-Echo') {noformat} No issue is seen when using: {noformat} node('master'){ stage ('number 1'){ build 'Freestyle-Test1-Echo' build 'Freestyle-Test2-Echo-Cat' } stage ('number 2'){ build 'Freestyle-Test3-Echo' } } {noformat} Using vagrant with hashicorp/precise64 as base image on Virtualbox, Jenkins LTS installed from package manager with *deb http://pkg.jenkins.io/debian-stable binary/* on my apt sources. Stage views from several jobs are also displaying this whitespace, even when the job wasn't run for some time. Issue was present before I updated jenkins and all plugins. Still persists after update. |
Description |
Original:
This is a similar issue as #39445 but in my case it appears the the beginning of the stages (the space added also depends on number of stages as mentioned on the previous issue) and only when using this as mainscript: {noformat} def stagename(def proj_name){ stage ("$proj_name"){ node('master'){ build "$proj_name" } } } stagename('Freestyle-Test1-Echo') stagename('Freestyle-Test2-Echo-Cat') stagename('Freestyle-Test3-Echo') {noformat} No issue is seen when using: {noformat} node('master'){ stage ('number 1'){ build 'Freestyle-Test1-Echo' build 'Freestyle-Test2-Echo-Cat' } stage ('number 2'){ build 'Freestyle-Test3-Echo' } } {noformat} Using vagrant with hashicorp/precise64 as base image on Virtualbox, Jenkins LTS installed from package manager with *deb http://pkg.jenkins.io/debian-stable binary/* on my apt sources. Stage views from several jobs are also displaying this whitespace, even when the job wasn't run for some time. Issue was present before I updated jenkins and all plugins. Still persists after update. |
New:
This is a similar issue as https://issues.jenkins-ci.org/browse/JENKINS-39445 but in my case it appears the the beginning of the stages (the space added also depends on number of stages as mentioned on the previous issue) and only when using this as mainscript: {noformat} def stagename(def proj_name){ stage ("$proj_name"){ node('master'){ build "$proj_name" } } } stagename('Freestyle-Test1-Echo') stagename('Freestyle-Test2-Echo-Cat') stagename('Freestyle-Test3-Echo') {noformat} No issue is seen when using: {noformat} node('master'){ stage ('number 1'){ build 'Freestyle-Test1-Echo' build 'Freestyle-Test2-Echo-Cat' } stage ('number 2'){ build 'Freestyle-Test3-Echo' } } {noformat} Using vagrant with hashicorp/precise64 as base image on Virtualbox, Jenkins LTS installed from package manager with *deb http://pkg.jenkins.io/debian-stable binary/* on my apt sources. Stage views from several jobs are also displaying this whitespace, even when the job wasn't run for some time. Issue was present before I updated jenkins and all plugins. Still persists after update. |
Description |
Original:
This is a similar issue as https://issues.jenkins-ci.org/browse/JENKINS-39445 but in my case it appears the the beginning of the stages (the space added also depends on number of stages as mentioned on the previous issue) and only when using this as mainscript: {noformat} def stagename(def proj_name){ stage ("$proj_name"){ node('master'){ build "$proj_name" } } } stagename('Freestyle-Test1-Echo') stagename('Freestyle-Test2-Echo-Cat') stagename('Freestyle-Test3-Echo') {noformat} No issue is seen when using: {noformat} node('master'){ stage ('number 1'){ build 'Freestyle-Test1-Echo' build 'Freestyle-Test2-Echo-Cat' } stage ('number 2'){ build 'Freestyle-Test3-Echo' } } {noformat} Using vagrant with hashicorp/precise64 as base image on Virtualbox, Jenkins LTS installed from package manager with *deb http://pkg.jenkins.io/debian-stable binary/* on my apt sources. Stage views from several jobs are also displaying this whitespace, even when the job wasn't run for some time. Issue was present before I updated jenkins and all plugins. Still persists after update. |
New:
This is a similar issue as [#39445|https://issues.jenkins-ci.org/browse/JENKINS-39445] but in my case it appears the the beginning of the stages (the space added also depends on number of stages as mentioned on the previous issue) and only when using this as mainscript: {noformat} def stagename(def proj_name){ stage ("$proj_name"){ node('master'){ build "$proj_name" } } } stagename('Freestyle-Test1-Echo') stagename('Freestyle-Test2-Echo-Cat') stagename('Freestyle-Test3-Echo') {noformat} No issue is seen when using: {noformat} node('master'){ stage ('number 1'){ build 'Freestyle-Test1-Echo' build 'Freestyle-Test2-Echo-Cat' } stage ('number 2'){ build 'Freestyle-Test3-Echo' } } {noformat} Using vagrant with hashicorp/precise64 as base image on Virtualbox, Jenkins LTS installed from package manager with *deb http://pkg.jenkins.io/debian-stable binary/* on my apt sources. Stage views from several jobs are also displaying this whitespace, even when the job wasn't run for some time. Issue was present before I updated jenkins and all plugins. Still persists after update. |
Environment | Original: Jenkins 2.32.2, Pipeline: Stage View Plugin v2.5 | New: Jenkins 2.53, Pipeline: Stage View Plugin v2.6 |
Attachment | New: Screenshot_20170511_125306.png [ 37731 ] |
Assignee | Original: Sam Van Oort [ svanoort ] |
Still persists.
Environment values were updated.
Additional tests using only stagename() at a time and this were my results:
stagename('111111111111-1') << Whitespace
stagename('11111111111-1') << NO Whitespace
stagename('abcdefghijklm-z') << Whitespace
stagename('abcdefghijkl-z') << NO Whitespace
stagename('ABCDEFGHIJKLMNOPQRSTUVWXY-Z') << NO Whitespace
stagename('abcdefghijklmnopqrstuvwxy-z') << NO Whitespace
stagename('a_bcdefghijklm-z') << Whitespace
stagename('A_bcdefghijklm-z') << NO Whitespace
stagename('Abcdefghijklm-z') << Whitespace
stagename('Abcdefghijklm_-z') << NO Whitespace
stagename('abcdefghijklm_-z') << Whitespace