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:

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

              Created:
              Updated: