9

I'm using Jenkins to run my builds, and update the github status of my projects.

This works fine.

I'd like to show the status of the build using http://shields.io/ on my README.md, like Travis does it.

Any thought of how can I do that ?

I don't want to use Travis for my project, I want to keep Jenkins.

Thanks !

Pyves
  • 6,333
  • 7
  • 41
  • 59
Rémy Virin
  • 3,379
  • 23
  • 42
  • Seems like http://stackoverflow.com/questions/14274293/show-current-state-of-jenkins-build-on-github-repo has some information about how to do it – Steven V Jun 18 '14 at 13:58
  • Thanks Steven, I already saw this, I used this answer : http://stackoverflow.com/a/20977634/2003734 And as said, I'm able to see the result of my build github branch view. But I'd like to see it on the main page of my project, i.e. to insert it in the readme. – Rémy Virin Jun 18 '14 at 14:02

2 Answers2

3

Shields.io has progressively added support for Jenkins over the years and now has a variety of badge options available:

Pyves
  • 6,333
  • 7
  • 41
  • 59
0

From shield.io's homepage and it's source code, it doesn't seem to be possible yet.

But shield.io is based on that open source project, so you can send a PR with the integration code. You can check how other integrations work and add the one you are missing. It shouldn't be that hard.

If you really think you won't be able to do it, you can try opening an issue in that repo and hope someone else implements it.

mgarciaisaia
  • 14,521
  • 8
  • 57
  • 81