set build status using REST API won't accept a valid url

Issue #18021 new
Alon Kagan
created an issue

Hello I am building some service using the REST API 2.0: /2.0/repositories/{username}/{repo_slug}/commit/{node}/statuses/build

one of the parameters is a url. I am providing: (for example) http://jenkins:8080 and it says it is an invalid url

'{"type": "error", "error": {"fields": {"url": ["Enter a valid URL."]}, "message": "url: Enter a valid URL."}}'

while putting the next url: http://<actual jenkins ip>:8080 results with a success. Please, I need this to be fixed. I am using later on a library that can only use the redirect IP, which is the "jenkins" one.

Thank you.

Comments (1)

  1. Log in to comment