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:

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

              Created:
              Updated:
              Archived: