Cloning repos from bitbucket server

In trying to start the build process from a bitbucket server, I’m receiving the following error. I think it may be to due to the bitbucket server settings for https, but I am having trouble debugging. I tried to override the clone step, but it also returned with a set of errors that said it could not find the image.

  • git init
    Initialized empty Git repository in /drone/src/******/browse/.git/
  • git remote add origin ****
  • git fetch --no-tags origin +refs/heads/master:
    fatal: unable to access ‘****’: Failed to connect to port 443: Host is unreachable
    exit status 128

Host is unreachable would indicate network configuration issues on your host machine. Please see this thread: Couldn't resolve host on clone

That would indicate they when trying to override the clone step, you did not include the image tag. See the following example for overriding the clone step: