Azure Devops API Create Build Definition

0 votes
I wanted to have a good example on the JSON body for Create Build Definition in Azure DevOps. I haven't been able to see an example JSON body to work from.
Microsoft Documentation:
https://docs.microsoft.com/en-us/rest/api/azure/devops/build/definitions/create?view=azure-devops-rest-5.1
I found this article that describes something similar to what I wanted. However, they are trying to duplicate the same build definition across different projects.
Similar Example:
https://www.nebbiatech.com/2018/11/29/automating-build-pipeline-creation-using-azure-devops-services-rest-api/
I want to generate as many standard build definitions within a single project are necessary by my automation.
Any suggestions will be helpful.
Mar 27, 2022 in Other DevOps Questions by Kichu
• 19,050 points
570 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Other DevOps Questions

0 votes
1 answer

How to show Azure DevOps wiki attachment that has been created by API

This doesn't appear to be an issue ...READ MORE

answered Feb 8, 2022 in Other DevOps Questions by Bhavitha
• 1,000 points
1,365 views
0 votes
1 answer

Create an automatic PR and complete it Azure DevOps

You can retrieve the creator ID after ...READ MORE

answered Feb 9, 2022 in Other DevOps Questions by Bhavitha
• 1,000 points
2,340 views
0 votes
0 answers
0 votes
0 answers

Azure DevOps 2019: Can't manage Extensions

When I  go to https://{{myServer}}/tfs/_gallery/manage,  while managing ...READ MORE

Mar 15, 2022 in Other DevOps Questions by Kichu
• 19,050 points
345 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP