Kalle Richter
Kalle Richter

Reputation: 8728

Is there a CI service for bitbucket.org which allow managing build commands in a VCS file?

Since travis-ci.org doesn't support bitbucket.org I need another CI service which supports it and allows managing the build commands in a VCS file (like .travis.yml in travis).

My quite annoying research result so far is:

I don't get why people would not want to share the CI service build commands in the VCS - chances of good collaboration without such a feature seems small to me. Even if one adds a script file in the VCS it still needs to be set up in the CI service which appears to be an unnecessary step.

Upvotes: 20

Views: 20828

Answers (6)

Miro A.
Miro A.

Reputation: 7963

There also is (now) an option to use GitLab as CI/CD server for repository hosted on Bitbucket.

See the documentation here: on GitLab site

Upvotes: 0

Noam Manos
Noam Manos

Reputation: 16971

According to this blog, it is possible to use Travis-CI for Bitbucket:

Clone github repository:

git clone https://github.com/{github_user}/{github_repository}
cd {github_repository}

Add submodule bitbucket repository:

git submodule add https://bitbucket.org/{bitbucket_user}/{bitbucket_repository}

Add .travis.yml to root dir:

git:
  submodules:
    false
before_install:
  - echo -e "machine bitbucket.org\n  login $BITBUCKET_USER_NAME\n  password $BITBUCKET_USER_PASSWORD" >~/.netrc
  - git submodule update --init --recursive
$BITBUCKET_USER_NAME is bitbucket username
$BITBUCKET_USER_PASSWORD is app password

Open https://travis-ci.org/{github_user}/{github_repository}

Upvotes: 1

Miro A.
Miro A.

Reputation: 7963

Also, CircleCI is supporting Bitbucket. It has free plan with 1500 build minutes. It can be triggered by commit or tag in BB. https://circleci.com/

Upvotes: 7

Philip Kirkbride
Philip Kirkbride

Reputation: 22879

The company that owns BitBucket also has a product called Bamboo for CI. Though most should work with any git that provides a webhook.

Upvotes: 1

Pep Lainez
Pep Lainez

Reputation: 949

A few months ago Bitbucket launched Pipelines. Quoting from the link:

Continuous delivery is now seamlessly integrated into your Bitbucket Cloud repositories.

You may use it on free plans, but next year they will reduce the build minutes for free plans from 500 minutes to 50 minutes as told in this link.

Upvotes: 18

mimimalizam
mimimalizam

Reputation: 11

A Semaphore CI user can add a fork of a project to his Semaphore account following these steps on the documentation page. Also, Semaphore is building a fork pull request and those builds are visible.

Upvotes: 0

Related Questions