Question
How to change a specific build trigger property using REST API?
Answer
- Get the build trigger entity of the build trigger that is planned to be changed:
GET /app/rest/buildTypes/<buildTypeLocator>/triggers/<triggerId> - Make the required changes to the response.
- Use the changed build trigger entity as a body of the PUT request to the same endpoint:
PUT /app/rest/buildTypes/<buildTypeLocator>/triggers/<triggerId>
Comments
0 comments
Please sign in to leave a comment.