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

Support for URL for stylesheet in Custom Tool

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • xunit-plugin
    • None
    • Jenkins LTS 1.596.3
      xunit 1.100

      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.

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

              Created:
              Updated:
              Resolved: