Error Signal Description not displayed in Blue Ocean

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When running Declarative Pipeline in below particular case error signal does not display any descriptions. The only place to find it (and its there properly expanded) is the end of console output.

      stage ('Pipeline-PR') {
          when {
              changeRequest()
              expression { env.CHANGE_TARGET == 'master' || env.CHANGE_TARGET == 'develop' }
          }
          steps {
              script {
                  def version = bat(script: "@set library.componentPipeline.version", returnStdout: true).split("=",2).last().trim()
                  if (version != 'master') {
                      error "Pull request targeting ${env.CHANGE_TARGET} cannot be based on ${version} branch of component pipeline, should be based on master!"
                  }
              }
          }
      }

      shows only as:

        1. image-2018-08-07-18-17-57-087.png
          18 kB
          Jakub Pawlinski
        2. image-2018-08-07-18-19-01-833.png
          18 kB
          Jakub Pawlinski
        3. image-2019-09-05-14-44-09-770.png
          20 kB
          Jakub Pawlinski
        4. image-2019-09-05-14-44-29-866.png
          13 kB
          Jakub Pawlinski

            Assignee:
            Unassigned
            Reporter:
            Jakub Pawlinski
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: