Import build release json export files to tfs source control through API

+1 vote
I’m trying to import exported JSON files from build and release definition and drop them on a location in source control.

I was just wondering if TFS 2018 or below has an API for the same?

Thanks..
Jul 25, 2018 in Other DevOps Questions by Hannah
• 18,520 points
1,588 views

1 answer to this question.

0 votes
The APIs of "Import build/release definition json files" are the same as Create a build definition and Create a release definition.

Follow these steps

Step 1- get a build/release definition

Step 2- change the build definition name and create/import it to TFS.

For dropping then on a location in source control, you import the JSON file, you will get a new build definition, not a version-controlled file. In future, you may use YAML builds which will configure your CI process as code, but currently, YAML build only exists in VSTS, not on-premises TFS.
answered Jul 25, 2018 by Kalgi
• 52,350 points

Related Questions In Other DevOps Questions

+1 vote
2 answers

Unable to build TFS project because files not found

Please make a folder in solution Nd ...READ MORE

answered May 17, 2019 in Other DevOps Questions by Shashikesh Mishra
4,755 views
0 votes
0 answers

Source code migration from TFS 2013 to Azure Devops service

Can someone help me with migrating the ...READ MORE

Mar 17, 2022 in Other DevOps Questions by Kichu
• 19,040 points
792 views
0 votes
1 answer

Copy log files to local machines using Jenkins

Try initializing the variables with values according ...READ MORE

answered May 2, 2018 in Other DevOps Questions by ajs3033
• 7,300 points
1,719 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 views
+2 votes
1 answer
0 votes
1 answer

SonarQube cannot connect to JIRA 7 with REST API

The JIRA Plugin is not compatible with JIRA 7 ...READ MORE

answered Jul 5, 2018 in Other DevOps Questions by Kalgi
• 52,350 points
1,019 views
0 votes
1 answer

Unable to integrate SonarQube analysis results with VSTS Build Summary

This was caused by passing a null ...READ MORE

answered Jul 23, 2018 in Other DevOps Questions by Kalgi
• 52,350 points
1,385 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