This topic describes the syntax, usage, and option descriptions for the bfbomexport command.
Build Forge commands are located in the Build Forge installation directory on Windows and in the <bf-install> /Platform directory on UNIX or Linux.
Use the bfbomexport command to export the Bill of Materials (BOM) for a job to an XML file. After collecting BOM information, bfbomexport saves it to the location and file name you specify.
To identify which BOM you want to save to an XML file, you must identify the project and the build for the job.
The bfbomexport command must be executed from the Build Forge installation directory for the Management Console and from the /platform directory on UNIX or Linux.
bfbomexport [-f filename] [-p projectID | -P projectName] [-b buildID | -t buildTag] [-H]
Option | Description |
---|---|
-f filename | An optional path and/or file name. The BOM for the job is saved in XML format. If a file name is not provided, the BOM is written to standard output (stdout). If a path name is not provided, the current working directory is used. |
-p projectID | The project ID for the job. (The bfexport command with the -l option lists project IDs.) |
-P projectName | The name of the project. |
-b buildID | The build ID. |
-t buildTag | The build tag name. |