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

Testng Plugin should have capability to save the reports in

XMLWordPrintable

      I am running my testing jobs on Jenkins which publish testng results using the testng-plugin . The daily reports The testng-results.xml are by default stored in the

      <JENKINS_HOME>/jobs/<JOBS_NAME>/builds/<BUILD_NUMBER>/testng/testng-results.xml
      

      Now i want to change the BUILD URL directory so that the builds are saved into the directory, something like this -

      <JENKINS_HOME>/jobs/<JOBS_NAME>/builds/<PARAMETER>/<BUILD_NUMBER>/testng/testng-results.xml
      

      where the <PARAMETER> is declared in each job . Since the PARAMETER is defined in each job , I cannot change the build workspace globally for Jenkins.

      After looking at the github code ,  I see that if I could somehow pass the value of "testngDir" into the plugin then my problem should be resolved

            Unassigned Unassigned
            rsaxena05 Rati Saxena
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: