I'm trying to use Bitbucket Pipelines and I get this error:
+ go get -v
# cd .; git ls-remote https://bitbucket.org/placenext/places-api-libs
fatal: could not read Username for 'https://bitbucket.org': No such device or address
# cd .; hg identify https://bitbucket.org/placenext/places-api-libs
abort: HTTP Error 404: Not Found
package bitbucket.org/placenext/places-api-libs/genproto: https://api.bitbucket.org/1.0/repositories/placenext/places-api-libs: 403 Forbidden
# cd .; git ls-remote https://bitbucket.org/placenext/places-api-libs
fatal: could not read Username for 'https://bitbucket.org': No such device or address
# cd .; hg identify https://bitbucket.org/placenext/places-api-libs
abort: HTTP Error 404: Not Found
How do I specify username? My bitbucket-pipelines.yml looks like:
pipelines:
default:
- step:
script: # Modify the commands below to build your repository.
- PACKAGE_PATH="${GOPATH}/src/bitbucket.org/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}"
- mkdir -pv "${PACKAGE_PATH}"
- tar -cO --exclude-vcs --exclude=bitbucket-pipelines.yml . | tar -xv -C "${PACKAGE_PATH}"
- cd "${PACKAGE_PATH}"
- go get -v
- go build -v
- go test -v