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

Error Signal Description not displayed in Blue Ocean

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • blueocean-plugin
    • None

      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

            Unassigned Unassigned
            quas Jakub Pawlinski
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: