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

Support for URL for stylesheet in Custom Tool

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
      None
    • Environment:
      Jenkins LTS 1.596.3
      xunit 1.100
    • Similar Issues:

      Description

      When using the Custom Tool option, it is mandatory to provide a custom stylesheet to convert unit tests results to Junit format.

      By following the documentation, we stored the xsl file in $JENKINS_HOME/userContent/cunit/cunit-to-junit.xsl

      And we configured the plugin with a custom tool stylesheet pointing to $JENKINS_HOME/userContent/cunit/cunit-to-junit.xsl

      This is not working when building on a slave machine, as the path $JENKINS_HOME/userContent/cunit/cunit-to-junit.xsl is not relevant on a slave (only for the master)

      What about supporting URL instead, so using $JENKINS_URL/userContent/cunit/cunit-to-junit.xsl could work.

        Attachments

          Issue Links

            Activity

            geoffroyjabouley Geoffroy Jabouley created issue -
            rtyler R. Tyler Croy made changes -
            Field Original Value New Value
            Workflow JNJira [ 168632 ] JNJira + In-Review [ 183208 ]
            nfalco Nikolas Falco made changes -
            Link This issue is blocking JENKINS-52392 [ JENKINS-52392 ]
            nfalco Nikolas Falco made changes -
            Assignee Gregory Boissinot [ gbois ] Nikolas Falco [ nfalco ]
            nfalco Nikolas Falco made changes -
            Summary Support for url for stylesheet in Custom Tool Support for URL for stylesheet in Custom Tool
            nfalco Nikolas Falco made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            nfalco Nikolas Falco made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]

              People

              • Assignee:
                nfalco Nikolas Falco
                Reporter:
                geoffroyjabouley Geoffroy Jabouley
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: