How to pass a range of validResponseCodes for Jenkins pipeline's httpRequest method?
Here is the reference for this method: https://jenkins.io/doc/pipeline/steps/http_request/#httprequest-perform-an-http-request-and-return-a-response-object
Documentation says its a string. And no more examples are provided.
I would like the valid response codes to be 200 - 400 and build not to fail because of the response code 400.