Source Control Tasks
This section covers the Build Extensions Ant tasks that extend the EWM Ant toolkit by offering the build the ability to perform SCM functions such as delivering change sets to a target and delivering workspace snapshots to the stream.
-
createComponent
The createComponents is used to create SCM components.
-
createStreams
The createStreams task is used to create SCM streams.
-
createWorkspace
The createWorkspace task is used to create a repository workspace.
-
deleteStreams
The deleteStreams task is used to delete SCM streams.
-
deleteWorkspace
The deleteWorkspace task is used to delete a repository workspace.
-
deliverChangeSetsToTarget
The deliverChangeSetsToTarget task delivers the specified change sets to the specified target.
-
deliverWorkspaceSnapshot
The deliverWorkspaceSnapshot delivers workspace snapshots. You can use this task to deliver the snapshot generated by the build process when automatically accepting incoming change sets as part of the build process. The default deliver flow target for the workspace is used unless overridden by the streamName attribute.
-
exportComponents
The exportComponents task is used to export SCM component definitions from the Jazz™ repository into an executable Ant build script as a createComponents task embedded in a Item.Definitions target.
-
exportStreams
The exportStreams task is used to export SCM stream definitions from the Jazz™ repository into an executable Ant build script as a createStreams task embedded in a Item.Definitions target.
-
getChangeSetWorkItems
The getChangeSetWorkItems task identifies all outgoing change sets for the specified workspace and returns the IDs for those work items as a comma-separated list in the specified property.
-
getWorkspaceName
The getWorkspaceName task returns the workspace name for the given workspace UUID in the specified Ant property.
-
getWorkspaceOwner
The getWorkspaceOwner task returns the userid of the owner of the specified workspace in the specified Ant property.
-
getWorkspaceUuid
The getWorkspaceUuid task returns the workspace UUID for the given workspace name in the specified Ant property.
-
isWorkspaceCurrent
The isWorkspaceCurrent task returns true if the specified workspace is up to date and returns false if it is not.
-
isWorkspaceNameUnique
The isWorkspaceNameUnique task returns true if the specified workspace name is unique and returns false if it is not.
-
setChangeSetsComplete
The setChangeSetsComplete task sets all active change sets in the specified workspace complete.
-
setWorkspaceName
The setWorkspaceName task changes the name of the specified workspace.
-
setWorkspaceOwner
The setWorkspaceOwner task changes ownership of the specified workspace.