Travis Client - Login with BitBucket account

5/6/2020

I'm trying to encrypt a service account file for Google Cloud and transfer over BitBucket to eventually deploy to GCP Kubernetes. I'm using the travis command line to do this, but whenever I try to log in via the command line it assumes I have a GitHub account associated with Travis CI not BitBucket.

travis encrypt-file service.json -r USERNAME/REPO

When I run this, Travis assumes I have trying to auth a GitHub account and asks me to login. It tries to validate my username and password against GitHub not BitBucket.

We need your GitHub login to identify you.

Is there an alternative command line command that lets me force a BitBucket login? Or a workaround for allowing me to encrypt the file and include in my .travis.yml build file?

-- plumby101
bitbucket
kubernetes
travis-ci

0 Answers