Projects need to download from Teamcity

We need to download the project names from teamcity.

Can anyone please share the options in teamcity or any query to run and pull the project names.

1 comment
Comment actions Permalink

Hello,

You could use the REST API for this purpose. As an example, you could get all the projects using:

http://<TEAMCITYSERVER>/app/rest/projects

You could get all the information from the projects like this and parse the result and get the project names.

You could also adjust this call to get a list with the project names only:

http://<TEAMCITYSERVER>/app/rest/projects?fields=project(name)

Thank you,

Guilherme

 

 

0

Please sign in to leave a comment.