I have created Release pipeline in Azure DevOps. I'm doing deployment inside spinnaker. Once Deployment got success/fail, the deployment status report should be come to Release pipeline stage in Azure DevOps.
How to achieve this? Is it possible with Rest-Api?
It is possible to trigger azure devops release pipeline stage via rest api.
You can first use Releases-Create rest api to create a release.
If you want to trigger a specific stage in this release. You can then use Releases - Update Release Environment.
See below example in powershell script: You can follow the steps here to get a personal access token.