...
The Release Ended event is triggered whenever a release is endedin ended in FlexDeploy. Common use cases can include logic you want to perform after any release is ended. For example you may want to end a sprint in Jira whenever the release is ended.
Code Block | ||
---|---|---|
| ||
{
"eventType": "Release Ended",
"actor": "avnish",
"object": "Release Build 503",
"timestamp": "2024-03-25 13:19:00 -0500",
"payload": {
"release": {
"releaseId": 236634,
"releaseName": "Release Build 503",
"releaseDescription": "Blackout W test"
},
"startDate": 1711390628000,
"endDate": null,
"projects": [
{
"projectId": 10212437,
"projectName": "XXHR",
"packageName": "JavaPkg",
"streamName": "master",
"buildEnvironment": {
"environmentId": 11595,
"environmentName": "Dev123",
"environmentCode": "DEV1"
},
"groupName": null
},
{
"projectId": 19422906,
"projectName": "Build 503",
"packageName": null,
"streamName": "master",
"buildEnvironment": {
"environmentId": 223477,
"environmentName": "503 Build",
"environmentCode": "503BUILD"
},
"groupName": null
},
{
"projectId": 19667075,
"projectName": "XXHR TFVC",
"packageName": "Pkg1",
"streamName": "master",
"buildEnvironment": {
"environmentId": 418564,
"environmentName": "Development",
"environmentCode": "DEV"
},
"groupName": null
}
],
"pipeline": {
"pipelineId": 198497,
"pipelineName": "Pipeline Check"
}
}
} |
Release Updated
The Release Updated event is triggered whenever a release is updated, started, or ended in FlexDeploy. Common use cases can include logic you want to perform after any release is updated. For example you may want to notify an external system when a release description changes.
Code Block |
---|
{
"eventType": "Release Updated",
"actor": "avnish",
"object": "Release Build 503",
"timestamp": "2024-03-25 13:19:00 -0500",
"payload": {
"release": {
"releaseId": 236634,
"releaseName": "Release Build 503",
"releaseDescription": "Blackout W test"
},
"startDate": 1711390628000,
"endDate": null,
"projects": [
{
"projectId": 10212437,
"projectName": "XXHR",
"packageName": "JavaPkg",
"streamName": "master",
"buildEnvironment": {
"environmentId": 11595,
"environmentName": "Dev123",
"environmentCode": "DEV1"
},
"groupName": null
},
{
"projectId": 19422906,
"projectName": "Build 503",
"packageName": null,
"streamName": "master",
"buildEnvironment": {
"environmentId": 223477,
"environmentName": "503 Build",
"environmentCode": "503BUILD"
},
"groupName": null
},
{
"projectId": 19667075,
"projectName": "XXHR TFVC",
"packageName": "Pkg1",
"streamName": "master",
"buildEnvironment": {
"environmentId": 418564,
"environmentName": "Development",
"environmentCode": "DEV"
},
"groupName": null
}
],
"pipeline": {
"pipelineId": 198497,
"pipelineName": "Pipeline Check"
}
}
} |
...