scm-project-add
The scm-project-add task adds a Maestro project to a Maestro server.
Support
scm-project-add was introduced in Journey Maestro 18.11, and continues 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. |
projectName | StringRequired. The project name. |
visibility | StringRequired. The project visibility. Must be one of the following.
|
dir | StringRequired. The project 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 Project Edit".
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 will add "Home Loan - Feature-123" with visibility "Private".
<scm-project-add url="https://form.mycorp.com/maestro/"
username="[email protected]"
password="password"
projectName="Home Loan - Feature-123"
visibility="Private"
dir="src/home-loan" />
Example Ant log output:
scm-project-add:
[scm-project-add] Project 'Home Loan - Feature-123' added.