The macro is used to signal the start of a build activity in the build results. Use this macro for one-off primary activities that will have no children.
The macro supports Team Build Attributes, as well as, its own macro specific attributes. Click on a link for more information on the common attributes.
The following table describes the macro specific attributes for the macro:
| Macro Specific Attributes | ||
| Attribute | Description | Required |
| buildResultUUID |
The UUID of the build result. The default value for this attribute is ${buildResultUUID} because that property is built-in when using the standard tooling. This attribute is used to identify the build result to update.
|
No |
| label | Label for the build activity step. | Yes |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed Materials - Property of IBM
(c) Copyright IBM Corporation 2020. All Rights Reserved.
Note to U.S. Government Users Restricted Rights:
Use, duplication or disclosure restricted by GSA ADP Schedule
Contract with IBM Corp.
-->
<project
basedir="."
default="all"
name="Example"
xmlns:xt="antlib:com.ibm.team.build.extensions.toolkit">
<description>Example</description>
<!-- Load build extensions -->
<xt:loadBuildExtensions/>
<xt:getJarLocation property="jarPath"/>
<!-- Load common resources -->
<import>
<javaresource name="scripts/smpe/imports/$common.xml">
<classpath location="${jarPath}"/>
</javaresource>
</import>
<property name="lblInitParent" value="${ant.project.name}Init"/>
<!-- - - - - - - - - - - - - - - - - - - *
* Example *
*- - - - - - - - - - - - - - - - - - - -->
<target name="init" description="${lblInitParent}">
<BuildActivityStart label="${lblInitParent}"/>
</target>
<target depends="init" description="all" name="all"/>
</project>