Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-18021

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            f86c3d47fff7 AlonKaganArgus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: