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

How to use this plugin in Jenkinsfile

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Could somebody give an example in Jenkinsfile?


      According to https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md , And finally found out solution below .

      post {
              always {
                  step([$class: 'Publisher', reportFilenamePattern: '**/testng-results.xml'])
              }
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              caryyu github.com/caryyu
              Reporter:
              caryyu github.com/caryyu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: