added more test results, just exploring

pull/20/head
Adam Townsend 2023-10-10 14:43:11 -07:00
parent aca92fdae1
commit 0b17f36fde
1 changed files with 10 additions and 3 deletions

13
Jenkinsfile vendored
View File

@ -25,8 +25,7 @@ pipeline {
}
stage('Run tests') {
steps {
sh 'cucumber'
sh 'cucumber features --format json --out cucumber.json'
sh 'cucumber features --format json --out cucumber.json, --format html --out cucumber.html'
}
}
stage('Report results') {
@ -40,8 +39,16 @@ pipeline {
reportFiles: 'index.html',
reportName: 'Test Results',
reportTitles: 'Test Coverage'])
publishHTML (target: [
allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: true,
reportDir: '.',
reportFiles: 'cucumber.html',
reportName: 'Test Results',
reportTitles: 'Cucumber Results'])
cucumber buildStatus: 'UNCHANGED', customCssFiles: '', customJsFiles: '', failedFeaturesNumber: -1, failedScenariosNumber: -1, failedStepsNumber: -1, fileIncludePattern: '**/cucumber.json', pendingStepsNumber: -1, skippedStepsNumber: -1, sortingMethod: 'ALPHABETICAL', undefinedStepsNumber: -1
mattermostSend channel: 'git-messages', color: 'good', message: "Finished building [${JOB_NAME}](${JOB_URL}) [#${BUILD_NUMBER}](${BUILD_URL})", text: 'Build Finished'
mattermostSend channel: 'git-messages', color: 'good', message: "[${JOB_NAME}](${JOB_URL}) [#${BUILD_NUMBER}](${BUILD_URL})", text: 'Build Finished Successfully'
}
}
}