Skip to content

Commit

Permalink
Doc for support of new Jenkins Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ntiss committed Jul 27, 2017
1 parent 99dcb27 commit 6c1bba5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -30,12 +30,15 @@ Choose "Jenkins default console" or "File".
![](doc/configuration.png)

## Use in Jenkins Pipeline
This plugin is compliant with new Jenkins Pipeline :
This plugin is compliant with new Jenkins Pipeline.
You can use the Snipper Generator or this fragment :

...
...
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
}
Expand Down

0 comments on commit 6c1bba5

Please sign in to comment.