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

Publish additional fields from test results to splunk

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • splunk-devops-plugin
    • None

      Issue: In the test results report there is a field specifying the hostname on which the tests are executed. I couldn't find a way to publish that field in the build report published to Splunk.

      Question: Is there a way to customise the job data sent to Splunk with additional fields from the test report?

      Request: It would be great to have the possibility to publish the hostname where the tests were executed, for tests that are executed in parallel on multiple platforms.

          [JENKINS-67942] Publish additional fields from test results to splunk

          Ted Xiao added a comment -

          If you logged hostname in the junit properties xml element, please follow up on https://github.com/jenkinsci/junit-plugin/pull/129/files
          splunk-devops-plugin depend on junit-plugin to parse/render junit xml.

          Ted Xiao added a comment - If you logged hostname in the junit properties xml element, please follow up on https://github.com/jenkinsci/junit-plugin/pull/129/files splunk-devops-plugin depend on junit-plugin to parse/render junit xml.

          Thank you fengxx! I will follow up on that change, seems to be exactly what I need.

          Anca Dumitrescu added a comment - Thank you fengxx ! I will follow up on that change, seems to be exactly what I need.

            fengxx Ted Xiao
            apopescu99 Anca Dumitrescu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: