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

First step in Pipeline does not have a description

    Details

    • Sprint:
      Pipeline - April 2018
    • Similar Issues:

      Description

      Found in workflow api 2.24

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

        Attachments

          Issue Links

            Activity

            Hide
            jamesdumay James Dumay added a comment -
            Show
            jamesdumay James Dumay added a comment - Found as part of https://github.com/jenkinsci/blueocean-plugin/pull/1598
            Hide
            svanoort 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). 

            Show
            svanoort 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). 
            Hide
            scm_issue_link 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

            Show
            scm_issue_link 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
            Hide
            vivek Vivek Pandey added a comment -

            Sam Van Oort Can be closed or is there any work left on this?

            Show
            vivek Vivek Pandey added a comment - Sam Van Oort Can be closed or is there any work left on this?
            Hide
            svanoort Sam Van Oort added a comment -

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

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: