tfs-proxy allows you to access information of your on-premise Team Foundation Server via simple web requests.
Currently it was created as side-project for node-build-monitor. Microsoft had released a REST API for its Visual Studio Online Services. But for the on-premise Team Foundation Server there is no easy way to query the build information.
tfs-proxy is a standalone Java console application running the Spark web framework. On a request the Microsoft Visual Studio Team Foundation Server 2012 SDK for Java is used to access the information of the Team Foundation Server.
http://localhost:4567/builds with the following headers:
url, eg. http://tfs-server:8080/tfs/DefaultCollectionusername: eg. domain\buildadminpassword: eg. buildadmin_secretFor a quick check if tfs-proxy is running correctly you can use curl
curl --header "url: http://tfs-server:8080/tfs/DefaultCollection" --header "username: domain\buildadmin" --header "password: buildadmin_secret" http://localhost:4567/builds
You could build the tfs-proxy docker image by your-self, if you want to.
docker build -t tfs-proxy .
docker run -d -p 4567:4567 tfs-proxy
You can also use the pre-built docker image marcells/tfs-proxy in the Docker Hub.
docker run -d -p 4567:4567 marcells/tfs-proxy
Content type
Image
Digest
sha256:76178e5de…
Size
432.2 MB
Last updated
almost 11 years ago
docker pull marcells/tfs-proxy