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

Errors are not being written to the outputFile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • http-request-plugin

      I am purposely inputting a bad URL and trying to capture the error that ensues. However, the outputFile that I specified is not being updated.

      script {
           response = httpRequest (
                ignoreSslErrors: true, 
                url: 'badURLGoesHere',
                outputFile: 'repwebResults.xml',
                 validResponseCodes: '100:500'
             ) 
      }
      

            janario Janario Oliveira
            geekylogic Sarah Kladstrup
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: