2 Replies Last post: Nov 12, 2013 9:46 PM by Yegor Yarko  
Olga Gorun Newbie 2 posts since
Nov 10, 2013
Currently Being Moderated

Nov 10, 2013 7:19 PM

Teamcity build status icon on github: No permission to get data

I try to represent Teamcity build status of project on its Github README.md page. For this purpose I use TeamCity rest API that exposes status icon at URL

 

<teamcity-root>/app/rest/builds/buildType:%28id:<buildTypeID>%29/statusIcon

 

For now I have two Github projects and three TeamCity builds for them (separate builds for two branches).

 

For all three builds URL built by scheme mentioned above gives  me expected image. But Github website replaces original image paths from  my TeamCity by own paths from github-camo.global.ssl.fastly.net host. And for two from three builds instead of image I expect to see  (success or fail) I get image stating 'No permission to get data'. (It  doesn't depend on way I insert image into file: with markdown syntax or  inline HTML)

 

Both Github projects are private. TeamCity site requires login in general but status icons don't.

 

I've checked also that this situation doesn't depend on TeamCity service hook usage.

 

I'll be glad to hear any idea on subject.

Yegor Yarko JetBrains 1,832 posts since
May 5, 2004
Currently Being Moderated
Nov 12, 2013 9:46 PM in response to: Olga Gorun
Re: Teamcity build status icon on github: No permission to get data

Olga,

 

Thank you for the folow up posting.

There are other options in addition to status widget configuration.

More Like This

  • Retrieving data ...