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 you job configuration scree, click the Tasks tab. 
  2. タスクの追加をクリックします。
  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.

Parser
Type of parser used by the task. Pick 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 to 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
Pick the correct source repository to associate the warnings with.

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

Custom files
glob pattern defining which files should be scanned for compiler warnings.

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

Severity of warnings being counted
The severity level of warnings counting towards build failure threshold. There are 3 severity levels: low, normal and high.

Fail build threshold
If number of warnings (taking into account their severity) exceeds this number the build fails.

Example of a Build warnings parser task configuration.

最終更新日: 2019 年 2 月 5 日

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

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