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

How to use this plugin in Jenkinsfile

XMLWordPrintable

      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'])
              }
      }
      

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

              Created:
              Updated:
              Resolved: