scm-status
The scm-status task displays:
- paths in a Maestro project that have differences between the local project files and the Maestro server,
- paths in the local working tree that are not tracked by a Maestro project, and
- paths in the Maestro project that are missing in the local working tree.
Support
scm-status and scm-project-status were introduced in Journey Maestro 18.11, and continue to be available in later Journey Maestro releases.
Task Attributes
All attributes are optional unless otherwise indicated.
| Attribute | Description |
|---|---|
url | StringRequired. The Maestro server URL. |
username | StringRequired. The Maestro server username. |
password | StringRequired. The Maestro server user's password. |
dir | StringRequired. The project or design directory. |
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 Design View" and "SCM Project View".
If the user is not a global administrator, only services belonging to the organizations assigned to the user will be accessible.
Example
<scm-status url="https://form.mycorp.com/maestro/"
username="[email protected]"
password="password"
dir="src/home-loan" />
Example Ant log output:
scm-status:
[scm-status] Local changes:
[scm-status] modified: forms/home-loan-form/form.json
[scm-status] new local: forms/home-loan-form/form.js