| pipeline { | |
| agent any | |
| node ('cf_slave') { | |
| checkout scm | |
| } | |
| stages { | |
| stage ("Unit Tests") { | |
| steps { | |
| sh "./node_modules/.bin/mocha --reporter mocha-junit-reporter --reporter-options mochaFile=./testResults/results.xml" | |
| junit allowEmptyResults: true, testResults: 'testResults/results.xml' | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment