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

Groovy exceptions are not logged in Blue Ocean

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • blueocean-plugin
    • Jenkins 2.19.1, Blue Ocean 1.0.0-b08

      Hopefully the screenshot says enough. I created a Jenkinsfile with a Groovy error towards the end (referencing an undefined variable) and nothing shows up in the Blue Ocean logs

          [JENKINS-39440] Groovy exceptions are not logged in Blue Ocean

          R. Tyler Croy created issue -
          R. Tyler Croy made changes -
          Attachment New: groovy-error.png [ 34683 ]
          R. Tyler Croy made changes -
          Description New: Hopefully the screenshot says enough. I created a {{Jenkinsfile}} with a Groovy error towards the end (referencing an undefined variable) and nothing shows up in the Blue Ocean logs :(
          R. Tyler Croy made changes -
          Environment New: Jenkins 2.19.1, Blue Ocean 1.0.0-b08

          James Dumay added a comment -

          rtyler we are going to get some help from the CB OSS team to solve this as part of JENKINS-38759.

          James Dumay added a comment - rtyler we are going to get some help from the CB OSS team to solve this as part of JENKINS-38759 .
          James Dumay made changes -
          Link New: This issue duplicates JENKINS-38759 [ JENKINS-38759 ]
          James Dumay made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Michael Neale added a comment -

          yes, this is valid. There are tons of cases like this where things fall through the cracks which we need to cater for. A gutter for unhandled errors.

          Michael Neale added a comment - yes, this is valid. There are tons of cases like this where things fall through the cracks which we need to cater for. A gutter for unhandled errors.
          Michael Neale made changes -
          Resolution Original: Duplicate [ 3 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Michael Neale made changes -
          Issue Type Original: Task [ 3 ] New: Bug [ 1 ]

            Unassigned Unassigned
            rtyler R. Tyler Croy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: