.bomexport

Description

The .bomexport dot command exports the BOM for the job to an XML file. After collecting the BOM information, .bomexport saves it to the file and location you specify.

The path and file name are optional. By default, Build Forge saves the BOM report to the step's working directory on the server and uses the tag name as the file name (<build_tagname>.xml).

Specify the .bomexport command as the last step in the project.

Note: In Java MJC, the bomexport utility or .bomexport command cannot retrieve the step results and step log of the job. However, you can retrieve the server-manifest section. Because of the differences between the Java MJC schema and the Perl schema, this issue does not apply to jobs on the Perl engine.

Syntax

.bomexport [path_name][file_name]

Options

Option Description
path_name An optional path name. If provided, the path must be relative to the step's working directory on the Build Forge server. If omitted, the file is saved to the step's working directory.
file_name An optional file name. The BOM for the job is saved to the file in XML format. If a file name is not provided, a file name is constructed from the build tag name and the string _BOM: <build_tagname>_BOM.xml.

Examples

.bomexport 
.bomexport myproj.xml
.bomexport path/to/myproj.xml
.bomexport /path/to/myproj.xml

Feedback