Create a new instance of Git SCM. url* - repository URL in the format: http(s)://host.xz/path/to/repo.git or user@host:path/repo.git. 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. Leave blank to sync to the master branch.
Created
Bad Request
Unauthorized
Not Found
Internal Server Error
{- "url": "string",
- "userName": "abc",
- "password": "abc",
- "branch": "master",
- "commitId": "string",
- "tag": "string"
}
Updates an instance of Git SCM.
Ok
Bad Request
Unauthorized
Not Found
Internal Server Error
{- "url": "string",
- "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"
}