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

JenkinsServer.getView throwing IOException if view not found

    Details

    • Similar Issues:

      Description

      JenkinsServer.getView is throwing IOException if view was not found. Other functions like getJob, getMavenJob, getFolderJob are all catching HttpResponseException and handling NOT FOUND status with returning null. Is there a reason why getView is behaving differently?

        Attachments

          Activity

          Show
          plaszlo Peter Laszlo added a comment - Possible fix: https://github.com/jenkinsci/java-client-api/pull/191
          Hide
          khmarbaise Karl-Heinz Marbaise added a comment -

          Thanks for the PR

          Show
          khmarbaise Karl-Heinz Marbaise added a comment - Thanks for the PR

            People

            • Assignee:
              khmarbaise Karl-Heinz Marbaise
              Reporter:
              plaszlo Peter Laszlo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: