Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The plugin is able to parse either JSON format or standard output of Prism (compliant with prism-2.0.0-alpha.7). Choose "Jenkins default console" or "File".

 

Image Removed

Image Added

Use in Jenkins Pipeline

This plugin is compliant with new Jenkins Pipeline.

You can use the Snipper Generator or this fragment :

Code Block
...
...
post {
    always {
        // Choose one of these options

        //publishStoplight consoleOrFile: 'console'
        publishStoplight consoleOrFile: 'file', resultFile: "${env.WORKSPACE}/prism.log"   // Use double-quote to have env variables replacement
    }
}        

(Tested with Jenkins 2.60.2)

Job Main Page : trend

 

 

Job Main Page : history

...

Thanks to Stoplight.io team.

Revision History

2.1.0 : Add support of Jenkins Pipeline (brought with Jenkins 2)

2.0.3 : Fix for icons path

2.0.2 : First public version

...