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
• 14,080 points
211 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 35,750 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 5 days ago in Other DevOps Questions by Shashikesh Mishra
219 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,000 points
34 views
0 votes
1 answer

Empty json created after SonarQue webhook build

It isn't like SonarQube to send empty ...READ MORE

answered Jun 1, 2018 in Other DevOps Questions by ajs3033
• 7,000 points
26 views
0 votes
1 answer
+13 votes
2 answers
0 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
• 35,750 points
31 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.