buildnote collect
Collects events such as test results and build tool events
Usage
buildnote collect <options>Options
--tag
Adds a tag to every collected event.
Example:
--tag "Unit Tests"To add several tags, repeat the option.
Example with several tags:
--tag "Unit Tests" --tag "All Tests"Values: value
--timeout
Maximum time, in seconds, to wait for the collection job to finish. If you don't set it, the command returns immediately without waiting.
Values: int
--org
Organisation identifier
Values: value
--project
Project identifier
Values: value
--module
Module identifier
Values: value
--build
Build identifier
Values: value
--sha
Commit SHA for the upload, such as 58e53b26ced5fffc72ba5427535e7b5867950b13
Values: value
--ref
Commit ref for the upload, such as refs/heads/main
Values: value
-h, --help
Show this message and exit
JUnit Collector
Options for the JUnit collector.
--junit-enabled
Turns the JUnit collector on or off.
Example:
--junit-enabled trueThis flag overrides the collect.junit.enabled value in the buildnote.json config file.
Values: [true|false]
--junit-include
Glob pattern for the files to include.
Example that includes nested files:
--junit-include "**/file-*.xml"Example with several patterns:
--junit-include "**/file-*.xml" --junit-include "another-file.txt"Patterns you pass here are added to the collect.junit.include values in the buildnote.json config file.
Values: text
--junit-exclude
Glob pattern for the files to exclude.
Example that excludes nested directories:
--junit-exclude "**/out"Example with several patterns:
--junit-exclude "**/out" --junit-exclude "build"Patterns you pass here are added to the collect.junit.exclude values in the buildnote.json config file.
Values: text
--junit-metadata
Extra metadata to attach to the collected events.
Example with several metadata items:
--junit-metadata user="$USER" --junit-metadata host="$HOST"Metadata you pass here is added to the collect.junit.metadata values in the buildnote.json config file.
Values: value
TestNG Collector
Options for the TestNG collector.
--testng-enabled
Turns the TestNG collector on or off.
Example:
--testng-enabled trueThis flag overrides the collect.testng.enabled value in the buildnote.json config file.
Values: [true|false]
--testng-include
Glob pattern for the files to include.
Example that includes nested files:
--testng-include "**/file-*.xml"Example with several patterns:
--testng-include "**/file-*.xml" --testng-include "another-file.txt"Patterns you pass here are added to the collect.testng.include values in the buildnote.json config file.
Values: text
--testng-exclude
Glob pattern for the files to exclude.
Example that excludes nested directories:
--testng-exclude "**/out"Example with several patterns:
--testng-exclude "**/out" --testng-exclude "build"Patterns you pass here are added to the collect.testng.exclude values in the buildnote.json config file.
Values: text
--testng-metadata
Extra metadata to attach to the collected events.
Example with several metadata items:
--testng-metadata user="$USER" --testng-metadata host="$HOST"Metadata you pass here is added to the collect.testng.metadata values in the buildnote.json config file.
Values: value
Cucumber Collector
Options for the Cucumber collector.
--cucumber-enabled
Turns the Cucumber collector on or off.
Example:
--cucumber-enabled trueThis flag overrides the collect.cucumber.enabled value in the buildnote.json config file.
Values: [true|false]
--cucumber-include
Glob pattern for the files to include.
Example that includes nested files:
--cucumber-include "**/file-*.xml"Example with several patterns:
--cucumber-include "**/file-*.xml" --cucumber-include "another-file.txt"Patterns you pass here are added to the collect.cucumber.include values in the buildnote.json config file.
Values: text
--cucumber-exclude
Glob pattern for the files to exclude.
Example that excludes nested directories:
--cucumber-exclude "**/out"Example with several patterns:
--cucumber-exclude "**/out" --cucumber-exclude "build"Patterns you pass here are added to the collect.cucumber.exclude values in the buildnote.json config file.
Values: text
--cucumber-metadata
Extra metadata to attach to the collected events.
Example with several metadata items:
--cucumber-metadata user="$USER" --cucumber-metadata host="$HOST"Metadata you pass here is added to the collect.cucumber.metadata values in the buildnote.json config file.
Values: value
Dart/Flutter Collector
Options for the Dart/Flutter collector.
--dart-enabled
Turns the Dart/Flutter collector on or off.
Example:
--dart-enabled trueThis flag overrides the collect.dart.enabled value in the buildnote.json config file.
Values: [true|false]
--dart-include
Glob pattern for the files to include.
Example that includes nested files:
--dart-include "**/file-*.xml"Example with several patterns:
--dart-include "**/file-*.xml" --dart-include "another-file.txt"Patterns you pass here are added to the collect.dart.include values in the buildnote.json config file.
Values: text
--dart-exclude
Glob pattern for the files to exclude.
Example that excludes nested directories:
--dart-exclude "**/out"Example with several patterns:
--dart-exclude "**/out" --dart-exclude "build"Patterns you pass here are added to the collect.dart.exclude values in the buildnote.json config file.
Values: text
--dart-metadata
Extra metadata to attach to the collected events.
Example with several metadata items:
--dart-metadata user="$USER" --dart-metadata host="$HOST"Metadata you pass here is added to the collect.dart.metadata values in the buildnote.json config file.
Values: value
NUnit Collector
Options for the NUnit collector.
--nunit-enabled
Turns the NUnit collector on or off.
Example:
--nunit-enabled trueThis flag overrides the collect.nunit.enabled value in the buildnote.json config file.
Values: [true|false]
--nunit-include
Glob pattern for the files to include.
Example that includes nested files:
--nunit-include "**/file-*.xml"Example with several patterns:
--nunit-include "**/file-*.xml" --nunit-include "another-file.txt"Patterns you pass here are added to the collect.nunit.include values in the buildnote.json config file.
Values: text
--nunit-exclude
Glob pattern for the files to exclude.
Example that excludes nested directories:
--nunit-exclude "**/out"Example with several patterns:
--nunit-exclude "**/out" --nunit-exclude "build"Patterns you pass here are added to the collect.nunit.exclude values in the buildnote.json config file.
Values: text
--nunit-metadata
Extra metadata to attach to the collected events.
Example with several metadata items:
--nunit-metadata user="$USER" --nunit-metadata host="$HOST"Metadata you pass here is added to the collect.nunit.metadata values in the buildnote.json config file.
Values: value
XUnit Collector
Options for the XUnit collector.
--xunit-enabled
Turns the XUnit collector on or off.
Example:
--xunit-enabled trueThis flag overrides the collect.xunit.enabled value in the buildnote.json config file.
Values: [true|false]
--xunit-include
Glob pattern for the files to include.
Example that includes nested files:
--xunit-include "**/file-*.xml"Example with several patterns:
--xunit-include "**/file-*.xml" --xunit-include "another-file.txt"Patterns you pass here are added to the collect.xunit.include values in the buildnote.json config file.
Values: text
--xunit-exclude
Glob pattern for the files to exclude.
Example that excludes nested directories:
--xunit-exclude "**/out"Example with several patterns:
--xunit-exclude "**/out" --xunit-exclude "build"Patterns you pass here are added to the collect.xunit.exclude values in the buildnote.json config file.
Values: text
--xunit-metadata
Extra metadata to attach to the collected events.
Example with several metadata items:
--xunit-metadata user="$USER" --xunit-metadata host="$HOST"Metadata you pass here is added to the collect.xunit.metadata values in the buildnote.json config file.
Values: value
CTRF Collector
Options for the CTRF collector.
--ctrf-enabled
Turns the CTRF collector on or off.
Example:
--ctrf-enabled trueThis flag overrides the collect.ctrf.enabled value in the buildnote.json config file.
Values: [true|false]
--ctrf-include
Glob pattern for the files to include.
Example that includes nested files:
--ctrf-include "**/file-*.xml"Example with several patterns:
--ctrf-include "**/file-*.xml" --ctrf-include "another-file.txt"Patterns you pass here are added to the collect.ctrf.include values in the buildnote.json config file.
Values: text
--ctrf-exclude
Glob pattern for the files to exclude.
Example that excludes nested directories:
--ctrf-exclude "**/out"Example with several patterns:
--ctrf-exclude "**/out" --ctrf-exclude "build"Patterns you pass here are added to the collect.ctrf.exclude values in the buildnote.json config file.
Values: text
--ctrf-metadata
Extra metadata to attach to the collected events.
Example with several metadata items:
--ctrf-metadata user="$USER" --ctrf-metadata host="$HOST"Metadata you pass here is added to the collect.ctrf.metadata values in the buildnote.json config file.
Values: value
TRX Collector
Options for the TRX collector.
--trx-enabled
Turns the TRX collector on or off.
Example:
--trx-enabled trueThis flag overrides the collect.trx.enabled value in the buildnote.json config file.
Values: [true|false]
--trx-include
Glob pattern for the files to include.
Example that includes nested files:
--trx-include "**/file-*.xml"Example with several patterns:
--trx-include "**/file-*.xml" --trx-include "another-file.txt"Patterns you pass here are added to the collect.trx.include values in the buildnote.json config file.
Values: text
--trx-exclude
Glob pattern for the files to exclude.
Example that excludes nested directories:
--trx-exclude "**/out"Example with several patterns:
--trx-exclude "**/out" --trx-exclude "build"Patterns you pass here are added to the collect.trx.exclude values in the buildnote.json config file.
Values: text
--trx-metadata
Extra metadata to attach to the collected events.
Example with several metadata items:
--trx-metadata user="$USER" --trx-metadata host="$HOST"Metadata you pass here is added to the collect.trx.metadata values in the buildnote.json config file.
Values: value
Robot Framework Collector
Options for the Robot Framework collector.
--robot-enabled
Turns the Robot Framework collector on or off.
Example:
--robot-enabled trueThis flag overrides the collect.robot.enabled value in the buildnote.json config file.
Values: [true|false]
--robot-include
Glob pattern for the files to include.
Example that includes nested files:
--robot-include "**/file-*.xml"Example with several patterns:
--robot-include "**/file-*.xml" --robot-include "another-file.txt"Patterns you pass here are added to the collect.robot.include values in the buildnote.json config file.
Values: text
--robot-exclude
Glob pattern for the files to exclude.
Example that excludes nested directories:
--robot-exclude "**/out"Example with several patterns:
--robot-exclude "**/out" --robot-exclude "build"Patterns you pass here are added to the collect.robot.exclude values in the buildnote.json config file.
Values: text
--robot-metadata
Extra metadata to attach to the collected events.
Example with several metadata items:
--robot-metadata user="$USER" --robot-metadata host="$HOST"Metadata you pass here is added to the collect.robot.metadata values in the buildnote.json config file.
Values: value
QT Test Collector
Options for the QT Test collector.
--qt-enabled
Turns the QT Test collector on or off.
Example:
--qt-enabled trueThis flag overrides the collect.qt.enabled value in the buildnote.json config file.
Values: [true|false]
--qt-include
Glob pattern for the files to include.
Example that includes nested files:
--qt-include "**/file-*.xml"Example with several patterns:
--qt-include "**/file-*.xml" --qt-include "another-file.txt"Patterns you pass here are added to the collect.qt.include values in the buildnote.json config file.
Values: text
--qt-exclude
Glob pattern for the files to exclude.
Example that excludes nested directories:
--qt-exclude "**/out"Example with several patterns:
--qt-exclude "**/out" --qt-exclude "build"Patterns you pass here are added to the collect.qt.exclude values in the buildnote.json config file.
Values: text
--qt-metadata
Extra metadata to attach to the collected events.
Example with several metadata items:
--qt-metadata user="$USER" --qt-metadata host="$HOST"Metadata you pass here is added to the collect.qt.metadata values in the buildnote.json config file.
Values: value
Open Test Reporting Collector
Options for the Open Test Reporting collector.
--otr-enabled
Turns the Open Test Reporting collector on or off.
Example:
--otr-enabled trueThis flag overrides the collect.otr.enabled value in the buildnote.json config file.
Values: [true|false]
--otr-include
Glob pattern for the files to include.
Example that includes nested files:
--otr-include "**/file-*.xml"Example with several patterns:
--otr-include "**/file-*.xml" --otr-include "another-file.txt"Patterns you pass here are added to the collect.otr.include values in the buildnote.json config file.
Values: text
--otr-exclude
Glob pattern for the files to exclude.
Example that excludes nested directories:
--otr-exclude "**/out"Example with several patterns:
--otr-exclude "**/out" --otr-exclude "build"Patterns you pass here are added to the collect.otr.exclude values in the buildnote.json config file.
Values: text
--otr-metadata
Extra metadata to attach to the collected events.
Example with several metadata items:
--otr-metadata user="$USER" --otr-metadata host="$HOST"Metadata you pass here is added to the collect.otr.metadata values in the buildnote.json config file.
Values: value
Files Collector
Options for the Files collector.
--files-enabled
Turns the Files collector on or off.
Example:
--files-enabled trueThis flag overrides the collect.files.enabled value in the buildnote.json config file.
Values: [true|false]
--files-include
Glob pattern for the files to include.
Example that includes nested files:
--files-include "**/file-*.xml"Example with several patterns:
--files-include "**/file-*.xml" --files-include "another-file.txt"Patterns you pass here are added to the collect.files.include values in the buildnote.json config file.
Values: text
--files-exclude
Glob pattern for the files to exclude.
Example that excludes nested directories:
--files-exclude "**/out"Example with several patterns:
--files-exclude "**/out" --files-exclude "build"Patterns you pass here are added to the collect.files.exclude values in the buildnote.json config file.
Values: text
--files-metadata
Extra metadata to attach to the collected events.
Example with several metadata items:
--files-metadata user="$USER" --files-metadata host="$HOST"Metadata you pass here is added to the collect.files.metadata values in the buildnote.json config file.
Values: value
Buildnote Collector
Options for the Buildnote collector.
--events-enabled
Turns the Buildnote collector on or off.
Example:
--events-enabled trueThis flag overrides the collect.events.enabled value in the buildnote.json config file.
Values: [true|false]
--events-include
Glob pattern for the files to include.
Example that includes nested files:
--events-include "**/file-*.xml"Example with several patterns:
--events-include "**/file-*.xml" --events-include "another-file.txt"Patterns you pass here are added to the collect.events.include values in the buildnote.json config file.
Values: text
--events-exclude
Glob pattern for the files to exclude.
Example that excludes nested directories:
--events-exclude "**/out"Example with several patterns:
--events-exclude "**/out" --events-exclude "build"Patterns you pass here are added to the collect.events.exclude values in the buildnote.json config file.
Values: text
--events-metadata
Extra metadata to attach to the collected events.
Example with several metadata items:
--events-metadata user="$USER" --events-metadata host="$HOST"Metadata you pass here is added to the collect.events.metadata values in the buildnote.json config file.
Values: value