Create a source config
Request
POST https://{hostname}:{port}
/build/rest2/projects/{id}/buildProcesses/{id}/sourceConfigs
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | true | The identifier to use when looking up a project. This can be the name or ID of the project |
| id | string | true | The identifier to use when looking up a build process. This can be the name or ID of the process |
This command takes a JSON request string or file. Use the following template for the request:
{
"ignoreRepositoryTrigger": "Whether or not the source
config should ignore repository triggers",
"name": "The name of the source config",
"respository": "The repository that the source config
will use",
"templateId": "The source config template ID for this
source config",
"templatedProperties": [{
"name": "The name of the property",
"value": "The value of the property"
}]
}
