Hi, I'm using gulp-remote-src to trigger jenkins tasks via http request.
When everything is ok, Jenkins responds with a 201 response but i get a fail message about status code "failed with status code:201".
Why are you checking exactly if it's 200? Wouldn't it be better if it checks only if statusCode starts with "2"?
Hi, I'm using gulp-remote-src to trigger jenkins tasks via http request. When everything is ok, Jenkins responds with a 201 response but i get a fail message about status code "failed with status code:201".
Why are you checking exactly if it's 200? Wouldn't it be better if it checks only if statusCode starts with "2"?