permissions problem using go project and pipelines

Jason - AimMatic
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 15, 2018

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-libsfatal: could not read Username for 'https://bitbucket.org': No such device or address# cd .; hg identify https://bitbucket.org/placenext/places-api-libsabort: HTTP Error 404: Not Foundpackage 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-libsfatal: could not read Username for 'https://bitbucket.org': No such device or address# cd .; hg identify https://bitbucket.org/placenext/places-api-libsabort: 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

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events