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

Broken link on Tap Results

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • tap-plugin
    • None

      Tap results generate broken links. I don't know exactly de content is expected to be on those links

      Related code is here:

      https://github.com/jenkinsci/tap-plugin/blob/master/src/main/resources/org/tap4j/plugin/model/TapStreamResult/body.jelly#L66
      https://github.com/jenkinsci/tap-plugin/blob/65b57b2cbbea64c033cd07511ad71f46a370bcee/src/main/java/org/tap4j/plugin/model/TapTestResultResult.java#L171

      e.g.

      Task for https://github.com/albfan/git-ignore

      test stream are generated with

      $ git clone https://github.com/albfan/git-ignore
      $ cd t/
      $ make DEFAULT_TEST_TARGET=jenkins

      test stream outputs on tapout/ dir.

      Here they are:

      t/tapout/t0001-exclude.sh

      ok 1 - exclude a single file
      ok 2 - exclude a bunch of files

      1. passed all 2 test(s)
        1..2

      t/tapout/t0002-ignore.sh

      ok 1 - Ignoring a single file
      ok 2 - Ignoring a bunch of files

      1. passed all 2 test(s)
        1..2

      Here is a generated link for one of these 4 test

      <jenkins-url>/job/git-ignore/10/tapTestReport/t%2Ftapout%2Ft0001-exclude.sh-1/

        1. tap results.jpg
          78 kB
          Alberto Fanjul Alonso
        2. tap extended results .jpg
          82 kB
          Alberto Fanjul Alonso

            kinow Bruno P. Kinoshita
            albfan Alberto Fanjul Alonso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: