Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25384

Custom label for builds

XMLWordPrintable

    • v2.0-beta1

      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

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

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

              Created:
              Updated:
              Resolved: