Is it possible to dynamically get a build from a teamcity server using python? -
have regular builds appear on teamcity server. manually take them down , configure integration testing , forth. build link location of following format: http://tcserver.com/repository/download/constant/321812:id/buildb.zip
previous build like: http://tcserver.com/repository/download/constant/321796:id/builda.zip
the url far "constant" never changes rest dynamic. because "artifacts" links popups, it's unclear how link through scripting, (still wet behind ears when comes language). there python plugin tc may in regard?
there way download artifacts of build in single zip archive: http:///repository/downloadall//61158:id/artifacts.zip
you can download artifacts of last finished/successful/pinned build (useful if don't know build id): http:///repository/downloadall//latest.lastsuccessful/artifacts.zip
you can use latest.lastsuccessful, latest.lastfinished , latest.lastpinned locators.
Comments
Post a Comment