See this link: https://dev.to/jaejamesdev/bitbucket-pipelines-the-soapclient-47km