Configuring Build warnings parser task

このページの内容

お困りですか?

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

コミュニティに質問

Use Build warnings parser tasks to scan build logs and output files for compiler warning. Warnings are aggregated into a build artifact and the summary of the warnings is displayed in the build result page.

To create a Build warnings parser task: 

  1. In the job configuration screen, select the Tasks tab. 
  2. Select Add task.
  3. From the Builder type group, select Build warnings parser.
  4. 次の設定を構成する: 


Task description
A description of the task, which is displayed in Bamboo.

Disable this task
Check, or clear, to selectively run this task.

Add condition to task
Make task run only when a certain condition is met. 
You can find conditions on Atlassian Marketplace or implement your own.

Parser
Type of parser used by the task. Select the one that matches the compiler (or other tools) used in previous steps of the build.

Associate warnings with a repository
Warnings can be associated with a repository containing your sources. This information can be later used to notify the source control system about the amount and severity of warnings found by this task. By default, the warnings are linked to the default repository of the build.

Repository
Select the correct source repository to associate the warnings with.

Input
Where Bamboo should look for warnings. You can select between parsing the output logs (default) or the file matching a glob pattern.

Fail build if too many warnings are found
Select this option of causes build to fail if number of warnings exceed defined threshold.

Build warnings parser task type configuration


最終更新日 2021 年 7 月 18 日

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

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