Skip to main content

Version: 23.10

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.

AttributeDescription
urlString

Required. The Maestro server URL.

usernameString

Required. The Maestro server username.

passwordString

Required. The Maestro server user's password.

projectNameString

Required. The project name.

visibilityString

Required. The project visibility.

Must be one of the following.

  • "Private"
  • "Public"
dirString

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.