Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Teamcity build badge on github

I wanted to add a teamcity build badge on my github page.My repository is a private github repository. I started of by including the code below as the link said.

<a href="http://teamcity/viewType.html?buildTypeId=myID&guest=1"> 
<img src="http://teamcity/app/rest/builds/buildType(id:myID)/statusIcon"/>
</a>

The problem I got stuck at then,was that the image was being blocked.I suspected that this was because my teamcity server was on http while my github repo used https.

In my case it is not possible to change teamcity to use https and so this was not an option.

Any workarounds/suggestions for how to get my build badges on github?

like image 409
Jhalaa Chinoy Avatar asked Sep 17 '16 14:09

Jhalaa Chinoy


1 Answers

Make sure to check "enable status widget" checkbox on the General Setting page:

enter image description here

like image 195
Boris Modylevsky Avatar answered Oct 01 '22 17:10

Boris Modylevsky