add jenkins cucumber functionality

This commit is contained in:
2023-10-09 18:30:50 -07:00
parent 5bce31baf2
commit ad4f8492d4
Vendored
+2 -1
View File
@@ -25,7 +25,7 @@ pipeline {
} }
stage('Run tests') { stage('Run tests') {
steps { steps {
sh 'cucumber' sh 'cucumber features --format json --out reports'
} }
} }
stage('Report results') { stage('Report results') {
@@ -39,6 +39,7 @@ pipeline {
reportFiles: 'index.html', reportFiles: 'index.html',
reportName: 'Test Results', reportName: 'Test Results',
reportTitles: 'Test Coverage']) reportTitles: 'Test Coverage'])
livingDocs()
} }
} }
} }