Skip to main content

Version: 23.10

scm-diff

The scm-diff task shows differences between locally cloned and remote instances of a Maestro design, while the scm-project-diff task shows differences between locally cloned and remote instances of a Maestro project.

Support

scm-diff was introduced in Transact Maestro 17.10, and continues to be available in later Transact Maestro and Journey Maestro releases.

scm-project-diff 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.

AttributeDescription
urlString

Required. The Maestro server URL.

usernameString

Required. The Maestro server username.

passwordString

Required. The Maestro server user's password.

cloneString

Required. The SCM clone of the project or design.

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 generates a display of the differences between the locally cloned and remote instances of the form design with the normalized name "form-1".

<scm-diff 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" />

Example Ant log output:

scm-diff:
[scm-diff] diff maguire/jsmith/forms/form-1/1.0.0/form.json form.json
[scm-diff] @@ -40,7 +40,7 @@
[scm-diff] ],
[scm-diff] "type": "job-details",
[scm-diff] "path": "",
[scm-diff] - "exclude": true,
[scm-diff] + "exclude": false,
[scm-diff] "id": "job_details_block"
[scm-diff] }
[scm-diff] ],