scm-project-add
The scm-project-add
task adds a Maestro project to a Maestro server.
Support
scm-project-add
is supported in Transact Maestro 18.11 and later 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. |
projectName | String Required. The project name. |
visibility | String Required. The project visibility. Must be one of the following.
|
dir | String Required. 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.