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

First step in Pipeline does not have a description

    • Pipeline - April 2018

      Found in workflow api 2.24

      node{
          stage ('Build') {
                  sh 'echo "Building"'
          }
          stage ('Test') {
                  sh 'echo testing'
          }
          stage ('Deploy') {
                  sh 'echo deploy'
          }
      }
      

          [JENKINS-48644] First step in Pipeline does not have a description

          James Dumay added a comment -

          James Dumay added a comment - Found as part of https://github.com/jenkinsci/blueocean-plugin/pull/1598

          Sam Van Oort added a comment -

          Solved in https://github.com/jenkinsci/workflow-cps-plugin/pull/195

          The cause is that you're echoing the exact string used as the stage name (including case sensitivity), and we added an un-whitelisted env variable for the stage name.  

          Pretty trivial fix and I think it's rare enough we shouldn't consider it very important as an issue (can only occur by coincidence for users). 

          Sam Van Oort added a comment - Solved in https://github.com/jenkinsci/workflow-cps-plugin/pull/195 The cause is that you're echoing the exact string used as the stage name (including case sensitivity), and we added an un-whitelisted env variable for the stage name.   Pretty trivial fix and I think it's rare enough we shouldn't consider it very important as an issue (can only occur by coincidence for users). 

          Code changed in jenkins
          User: Sam Van Oort
          Path:
          pom.xml
          src/main/java/org/jenkinsci/plugins/workflow/cps/actions/ArgumentsActionImpl.java
          src/test/java/org/jenkinsci/plugins/workflow/cps/actions/ArgumentsActionImplTest.java
          http://jenkins-ci.org/commit/workflow-cps-plugin/b8a9d164cf427cffa12b97635d918aedebd2f2b5
          Log:
          Merge pull request #195 from svanoort/JENKINS-48644

          Test and fix for missing ArgumentsAction string inside a stage

          Compare: https://github.com/jenkinsci/workflow-cps-plugin/compare/31fec1fc61dc...b8a9d164cf42

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Sam Van Oort Path: pom.xml src/main/java/org/jenkinsci/plugins/workflow/cps/actions/ArgumentsActionImpl.java src/test/java/org/jenkinsci/plugins/workflow/cps/actions/ArgumentsActionImplTest.java http://jenkins-ci.org/commit/workflow-cps-plugin/b8a9d164cf427cffa12b97635d918aedebd2f2b5 Log: Merge pull request #195 from svanoort/ JENKINS-48644 Test and fix for missing ArgumentsAction string inside a stage Compare: https://github.com/jenkinsci/workflow-cps-plugin/compare/31fec1fc61dc...b8a9d164cf42

          Vivek Pandey added a comment -

          svanoort Can be closed or is there any work left on this?

          Vivek Pandey added a comment - svanoort Can be closed or is there any work left on this?

          Sam Van Oort added a comment -

          Was released in 2.43, and the JIRA auto-update broke.

          Sam Van Oort added a comment - Was released in 2.43, and the JIRA auto-update broke.

            svanoort Sam Van Oort
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: