-
Bug
-
Resolution: Unresolved
-
Minor
-
None
I have the following maven build job as below in declarative pipeline and is working fine.
pipeline { agent any tools { maven 'test-maven' jdk 'test-jdk' } stages { stage("Tools initialization") { steps { sh "mvn --version" sh "java -version" } } stage("Checkout Code") { steps { git branch: buildParams.get('branch'), url: buildParams.get('repo') } } stage("Build Maven") { steps { script { String pomFile=buildParams.get('file') String args=buildParams.get('options') sh "mvn -f ${pomFile} ${args}" } } } }
However, in the pipeline view as well as the BlueOcean view, I can see the following labels. Please provide configuration to suppress this display.
- is related to
-
JENKINS-68523 BlueOcean steps to use short description
-
- Open
-
[JENKINS-68171] Unnecessary Labels in Pipeline displays
Issue Type | Original: Improvement [ 4 ] | New: Bug [ 1 ] |
Description |
Original:
I have the following maven build job as below in declarative pipeline and is working fine.
{code:java} pipeline { agent any tools { maven 'test-maven' jdk 'test-jdk' } stages { stage("Tools initialization") { steps { sh "mvn --version" sh "java -version" } } stage("Checkout Code") { steps { git branch: buildParams.get('branch'), url: buildParams.get('repo') } } stage("Build Maven") { steps { script { String pomFile=buildParams.get('file') String args=buildParams.get('options') sh "mvn -f ${pomFile} ${args}" } } } } {code} However, in the pipeline view as well as the BlueOcean view, I can see the following labels. Please provide configuration to stop this display !image-2022-04-01-08-09-58-909.png! |
New:
I have the following maven build job as below in declarative pipeline and is working fine.
{code:java} pipeline { agent any tools { maven 'test-maven' jdk 'test-jdk' } stages { stage("Tools initialization") { steps { sh "mvn --version" sh "java -version" } } stage("Checkout Code") { steps { git branch: buildParams.get('branch'), url: buildParams.get('repo') } } stage("Build Maven") { steps { script { String pomFile=buildParams.get('file') String args=buildParams.get('options') sh "mvn -f ${pomFile} ${args}" } } } } {code} However, in the pipeline view as well as the BlueOcean view, I can see the following labels. Please provide configuration to suppress this display. !image-2022-04-01-08-09-58-909.png! |
Link | New: This issue is related to JENKINS-68523 [ JENKINS-68523 ] |