chore: categories and environment section added to allure report
This commit is contained in:
parent
5d4a6d631d
commit
6a9f43c74e
|
@ -164,9 +164,15 @@ pipeline {
|
||||||
} } }
|
} } }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
always { script {
|
always { script {
|
||||||
archiveArtifacts('aut/*.log')
|
archiveArtifacts('aut/*.log')
|
||||||
|
|
||||||
|
/* Needed to categorize types of errors and add environment section in allure report. */
|
||||||
|
sh 'cp ext/allure_files/categories.json allure-results'
|
||||||
|
sh 'cp ext/allure_files/environment.properties allure-results'
|
||||||
|
|
||||||
allure([
|
allure([
|
||||||
results: [[path: 'allure-results']],
|
results: [[path: 'allure-results']],
|
||||||
reportBuildPolicy: 'ALWAYS',
|
reportBuildPolicy: 'ALWAYS',
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "Skipped tests",
|
||||||
|
"matchedStatuses": ["skipped"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Lookup errors",
|
||||||
|
"messageRegex": ".*LookupError.*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Lost connection",
|
||||||
|
"messageRegex": ".*Lost connection to AUT.*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Connection refused",
|
||||||
|
"messageRegex": ".*connection to AUT refused.*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Assertion errors",
|
||||||
|
"messageRegex": ".*AssertionError.*"
|
||||||
|
}
|
||||||
|
]
|
|
@ -0,0 +1,2 @@
|
||||||
|
os_platform = linux
|
||||||
|
python_version = Python 3.10
|
Loading…
Reference in New Issue