scm-clone
The scm-clone
task clones a Maestro design, while the scm-project-clone
task clones a Maestro project.
Support
scm-clone
was introduced in Transact Maestro 17.10, and continues to be available in later Transact Maestro and Journey Maestro releases.
scm-project-clone
was introduced in Transact Maestro 18.05, and continues to be available in later Journey Maestro releases.
Task Attributes
All attributes are optional unless otherwise indicated.
Attribute | Description |
---|---|
url | String Required. The Maestro server URL. |
username | String Required. The Maestro server username. |
password | String Required. The Maestro server user's password. |
clone | String Required. The SCM clone of the project or design. |
dir | String Required. The directory to clone the project into. |
proxyFile | String HTTP proxy configuration properties file location. |
TM Security
To use this task, the user specified by username
needs an active user account on the TM server with access to the Management Console module.
To be authorized to call the service, the user account also needs the Management Console permission "SCM Project View" or "SCM Design View".
If the user is not a global administrator, only services belonging to the organizations assigned to the user will be accessible.
Example
The example Ant task below clones a form design with the normalized name "form-1".
<scm-clone url="https://form.mycorp.com/maestro/"
username="[email protected]"
password="password"
clone="scm design clone maguire/jsmith/forms/form-1/1.0.0"
dir="src/form-1"
proxy="./proxy.properties" />
Example Ant log output:
scm-clone:
[scm-clone] Request: GET https://form.mycorp.com/maestro/secure/rest/form-design-version/v1/maguire/jsmith/forms/form-1/1.0.0 HTTP/1.1
[scm-clone] Cloned 'maguire/jsmith/forms/form-1/1.0.0' in dir: C:\tmp\sdk\src\form-1