Create a new instance of Git SCM. url* - Enter one repository URL and branch/ tag/ commit ID in individual fields or one or more repository URLs separated by comma. You can include a branch, tag, or commit ID notation as part of the URL. userName/password - userName/password for authenticated access to the repository. Leave blank for anonymous or SSH access. branch/commitId/tag - branch, tag or commit ID. Specify one of these values. Or leave blank to sync to the master branch. These three fields will be considered only when single URL is provided without branch/ tag/ commit ID properties in the URL.
Created
Bad Request
Unauthorized
Not Found
Internal Server Error
{- "url": "E.g. https://host.xz/path/to/repo.git or https://host.xz/path/to/repo.git~~branch1 or user@host:path/repo.git>>cmID123 or https://host.xz/path/to/repo.git^^tag1.1",
- "userName": "abc",
- "password": "abc",
- "branch": "master",
- "commitId": "string",
- "tag": "string"
}
Updates an instance of Git SCM. url* - Enter one repository URL and branch/ tag/ commit ID in individual fields or one or more repository URLs separated by comma. You can include a branch, tag, or commit ID notation as part of the URL. userName/password - userName/password for authenticated access to the repository. Leave blank for anonymous or SSH access. branch/commitId/tag - branch, tag or commit ID. Specify one of these values. Or leave blank to sync to the master branch. These three fields will be considered only when single URL is provided without branch/ tag/ commit ID properties in the URL.
Ok
Bad Request
Unauthorized
Not Found
Internal Server Error
{- "url": "E.g. https://host.xz/path/to/repo.git or https://host.xz/path/to/repo.git~~branch1 or user@host:path/repo.git>>cmID123 or https://host.xz/path/to/repo.git^^tag1.1",
- "userName": "abc",
- "password": "abc",
- "branch": "master",
- "commitId": "string",
- "tag": "string"
}
Create a new instance of Perforce SCM. url - URL in the format: <protocol>:<host>:<port>/<depot>,or else configured P4PORT will be taken a default url. userName/password - userName/password or else configured P4USER/P4PASSWD will be taken a default . branchSpec - branchSpec(<Depot>/<ProjectPath>) changeListNum/label - changeListNum/label Or leave blank to sync to the head revision.
Created
Bad Request
Unauthorized
Not Found
Internal Server Error
{- "url": "string",
- "userName": "abc",
- "password": "abc",
- "branchSpec": "string",
- "changeListNum": "string",
- "label": "string"
}
Updates an instance of Perforce SCM.
Ok
Bad Request
Unauthorized
Not Found
Internal Server Error
{- "url": "string",
- "userName": "abc",
- "password": "abc",
- "branchSpec": "string",
- "changeListNum": "string",
- "label": "string"
}
Create a new instance of Subversion SCM. url* - URL in the format: <protocol>://<host>/<svnroot>/<repository> userName/password - userName/password or leave blank for anonymous connection revisionNumber - revision for which you want to create workspace and run scan on the same.
Created
Bad Request
Unauthorized
Not Found
Internal Server Error
{- "url": "string",
- "userName": "abc",
- "password": "abc",
- "revisionNumber": "string"
}
Updates an instance of Subversion SCM.
Ok
Bad Request
Unauthorized
Not Found
Internal Server Error
{- "url": "string",
- "userName": "abc",
- "password": "abc",
- "revisionNumber": "string"
}
Create a new instance of TFS SCM. url* - URL in the below format: <protocol>:<host>:<port>/<tfsroot>/<collection>/<project> URL format for TFS 2016 and above: <protocol>:<host>:<port>/<collection>/<project> userName/password* - userName/password for authentication changeSet - changeset you wish to sync.If Changeset is not provided, latest revision will be synced unless Label is specified. label - Label you wish to sync. If Label is not provided, latest revision will be synced unless changeset is specified.
Created
Bad Request
Unauthorized
Not Found
Internal Server Error
{- "url": "string",
- "username": "abc",
- "password": "abc",
- "changeSet": "string",
- "label": "string"
}
Updates an instance of TFS SCM.
Ok
Bad Request
Unauthorized
Not Found
Internal Server Error
{- "url": "string",
- "username": "abc",
- "password": "abc",
- "changeSet": "string",
- "label": "string"
}