removed jenkins cucumber section, use the html formatter instead
also added more info to the success message
This commit is contained in:
Vendored
+2
-3
@@ -25,7 +25,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Run tests') {
|
stage('Run tests') {
|
||||||
steps {
|
steps {
|
||||||
sh 'cucumber features --format json --out cucumber.json --format html --out coverage/cucumber.html'
|
sh 'cucumber features --format html --out coverage/cucumber.html'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Report results') {
|
stage('Report results') {
|
||||||
@@ -39,8 +39,7 @@ pipeline {
|
|||||||
reportFiles: 'cucumber.html, index.html',
|
reportFiles: 'cucumber.html, index.html',
|
||||||
reportName: 'Test Results',
|
reportName: 'Test Results',
|
||||||
reportTitles: 'Cucumber Results, Test Coverage'])
|
reportTitles: 'Cucumber Results, Test Coverage'])
|
||||||
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: "[${JOB_NAME}](${JOB_URL}) [#${BUILD_NUMBER}](${BUILD_URL}) ([Gitea](${GIT_URL})) ${GIT_COMMIT}", text: 'Build Finished Successfully'
|
||||||
mattermostSend channel: 'git-messages', color: 'good', message: "[${JOB_NAME}](${JOB_URL}) [#${BUILD_NUMBER}](${BUILD_URL})", text: 'Build Finished Successfully'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user