How i can get artifact using rest-api or httpauth in python3?

Hi everyone.

How i can get artifact using rest-api or httpauth in python3?

For example in fabric scrpt.

Or curl\wget

1
1 comment

Hi,

I cannot really help with python in particular, but examples are here: https://confluence.jetbrains.com/display/TCD10/REST+API#RESTAPI-build_artifacts

A curl example: curl -v -u user:password --request GET "http://teamcity:8111/app/rest/builds/id:<id>/artifacts/content/<file>

Please, check the documentation, as there are other options (such as gathering metadata, or accessing archives)

0

Please sign in to leave a comment.