Details

    • Similar Issues:
    • Released As:
      v2.0-beta1

      Description

      Certain projects may have several Jenkins builds associated with them, so it should be possible to have the icons of the build status generated with a custom label text.

      For example: I am working on a project (python) that needs to pass all tests both in python 2.7 and python 3.4, but that also need to build the documentation correctly.

      So, I have three different Jenkins jobs that run, and rather than having three identical icons on my GitHub README.md file, I'd like to heave them as per attached examples.

      I'd propose to just add a query parameters, so that the icons may be triggered with:

      https://example.com/jenkins/buildStatus/icon?job=python27&label=Py2
      https://example.com/jenkins/buildStatus/icon?job=python34&label=Py3
      https://example.com/jenkins/buildStatus/icon?job=documentation&label=Docs

        Attachments

        1. docs.svg
          0.8 kB
        2. py2.svg
          0.8 kB
        3. py3.svg
          0.8 kB

          Activity

          Hide
          kankaristo Sami Kankaristo added a comment -

          This would also be really useful for us, because we want to track Linux, OS X and Windows builds.

          Later we might add a Jenkins job for e.g. generating documentation, which would also benefit from this.

          I wouldn't mind creating the images myself, so just allowing custom passing/failing images per job would be a good solution for us. Generating the image from a string would be even better, but obviously more complex to develop.

          Show
          kankaristo Sami Kankaristo added a comment - This would also be really useful for us, because we want to track Linux, OS X and Windows builds. Later we might add a Jenkins job for e.g. generating documentation, which would also benefit from this. I wouldn't mind creating the images myself, so just allowing custom passing/failing images per job would be a good solution for us. Generating the image from a string would be even better, but obviously more complex to develop.
          Hide
          kankaristo Sami Kankaristo added a comment -

          Just found this:
          https://github.com/badges/shields

          That's the "badge standard" that's being used by shields.io. It seems to have been adopted by a lot of services, including Travis CI and Coveralls.

          Sounds like a relatively simple solution? I'm not suggesting to use shields.io (doesn't make sense to eat their bandwidth), but you could use their code to generate an SVG?

          Show
          kankaristo Sami Kankaristo added a comment - Just found this: https://github.com/badges/shields That's the "badge standard" that's being used by shields.io . It seems to have been adopted by a lot of services, including Travis CI and Coveralls. Sounds like a relatively simple solution? I'm not suggesting to use shields.io (doesn't make sense to eat their bandwidth), but you could use their code to generate an SVG?
          Hide
          thomas_dee Thomas Döring added a comment -

          With v2.0 query parameters like subject, status, color and animatedOverlayColor will be supported.

          Show
          thomas_dee Thomas Döring added a comment - With v2.0 query parameters like subject , status , color and animatedOverlayColor will be supported.
          Hide
          thomas_dee Thomas Döring added a comment -

          Released with v2.0

          Show
          thomas_dee Thomas Döring added a comment - Released with v2.0

            People

            • Assignee:
              thomas_dee Thomas Döring
              Reporter:
              mac Mac Ryan
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: