Configure your CI server

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

Integrated CI/CD allows you to use configuration as code to set up and manage builds and deployments. This approach of storing your configuration as source code has many advantages – it enables easier automation, change tracking, validation, and more. For details, check out the benefits of configuration as code.

Before you continue, make sure you’ve linked Bitbucket Server with your CI server. Then complete these steps, which we’ll outline in more detail below:

  1. Create a configuration file
  2. Check the configuration file into the target repository
  3. Configure Bamboo or Jenkins

On this page:

関連ページ

1. Create a configuration file

Integrated CI/CD supports Bamboo and Jenkins, which use their own types of configuration as code files.

CI サーバーConfiguration file type関連ドキュメント
Bamboo

Bamboo Specs file

Bamboo Specs documentation

Bamboo Specs reference

JenkinsJenkinsfile

Jenkinsfile documentation on jenkins.io

2. Check the configuration file into the target repository

Once you’ve created your configuration file, check it into the Bitbucket repository you want your CI Server to build from. Then you need to configure Bamboo or Jenkins to detect it.

3. Configure Bamboo or Jenkins

If you use Bamboo, you need to configure Bamboo to scan Bitbucket Server for Bamboo Specs.

If you use Jenkins, you need to configure a Jenkins pipeline and specify the Bitbucket repository to build from.

Then when your build starts, it will appear on the Builds page. Here you can:

最終更新日: 2021 年 1 月 4 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.