Compare commits

..

No commits in common. "d4db64f40463d496cfcf6f68e5580c6fcbe2611c" and "cc1fe1c3b772a5e0717a0eb77fc0d0ec93e373f1" have entirely different histories.

1 changed files with 4 additions and 14 deletions

18
Jenkinsfile vendored
View File

@ -25,7 +25,7 @@ pipeline {
} }
stage('Run tests') { stage('Run tests') {
steps { steps {
sh 'cucumber features --format html --out coverage/cucumber.html' sh 'cucumber features --format json --out cucumber.json'
} }
} }
stage('Report results') { stage('Report results') {
@ -36,21 +36,11 @@ pipeline {
alwaysLinkToLastBuild: false, alwaysLinkToLastBuild: false,
keepAll: true, keepAll: true,
reportDir: 'coverage', reportDir: 'coverage',
reportFiles: 'cucumber.html, index.html', reportFiles: 'index.html',
reportName: 'Test Results', reportName: 'Test Results',
reportTitles: 'Cucumber Results, Test Coverage']) reportTitles: 'Test Coverage'])
cucumber buildStatus: 'UNCHANGED', customCssFiles: '', customJsFiles: '', failedFeaturesNumber: -1, failedScenariosNumber: -1, failedStepsNumber: -1, fileIncludePattern: '**/cucumber.json', pendingStepsNumber: -1, skippedStepsNumber: -1, sortingMethod: 'ALPHABETICAL', undefinedStepsNumber: -1
} }
} }
} }
post {
success {
mattermostSend channel: 'git-messages', color: 'good', message: "[${JOB_NAME}](${JOB_URL}) [#${BUILD_NUMBER}](${BUILD_URL}) ([Gitea](${GIT_URL}))", text: 'Build Finished Successfully'
}
unstable {
mattermostSend channel: 'git-messages', color: 'warning', message: "[${JOB_NAME}](${JOB_URL}) [#${BUILD_NUMBER}](${BUILD_URL}) ([Gitea](${GIT_URL}))", text: "Build Unstable"
}
failure {
mattermostSend channel: 'git-messages', color: 'danger', message: "[${JOB_NAME}](${JOB_URL}) [#${BUILD_NUMBER}](${BUILD_URL}) ([Gitea](${GIT_URL}))", text: "Build Failed"
}
}
} }