You've already forked jenkins-lib
forked from jenkins/jenkins-lib
Доработка Yaxunit (#13)
* add params * rewrite and add params * fix options merge * fix command * switch to ArrayList * fix junit reports * fix yaxunit config * fix yaxunit config * fix yaxunit config paths * add allure * fix allure * fix public * fix static * copy allure * publish options * schema upd
This commit is contained in:
@@ -83,7 +83,12 @@
|
||||
"publishToJUnitReport": true
|
||||
},
|
||||
"yaxunit": {
|
||||
"vrunnerSettings": "./tools/vrunner.json"
|
||||
"vrunnerSettings": "./tools/vrunner.json",
|
||||
"cfe": "https://github.com/bia-technologies/yaxunit/releases/download/23.05/YAXUNIT-23.05.cfe",
|
||||
"extensionNames": ["YAXUNIT"],
|
||||
"configPath": "./tools/yaxunit.json",
|
||||
"publishToAllureReport": false,
|
||||
"publishToJUnitReport": true
|
||||
},
|
||||
"resultsTransform": {
|
||||
"removeSupport": true,
|
||||
|
@@ -142,6 +142,10 @@
|
||||
"type": "integer",
|
||||
"description": "Таймаут шага дымовых тестов, в минутах.\n По умолчанию содержит значение 240.\n "
|
||||
},
|
||||
"yaxunit": {
|
||||
"type": "integer",
|
||||
"description": "Таймаут шага Юнит тестов, в минутах.\n По умолчанию содержит значение 240.\n "
|
||||
},
|
||||
"sonarqube": {
|
||||
"type": "integer",
|
||||
"description": "Таймаут шага статического анализа SonarQube, в минутах.\n По умолчанию содержит значение 90.\n "
|
||||
@@ -305,7 +309,15 @@
|
||||
},
|
||||
"configPath": {
|
||||
"type": "string",
|
||||
"description": "Путь к конфигурационному файлу для Yaxunit.\n По умолчанию содержит значение \"./tools/YaxunitConfig.json\".\n "
|
||||
"description": "Путь к конфигурационному файлу YAXUnit.\n По умолчанию содержит значение \"./tools/yaxunit.json\".\n "
|
||||
},
|
||||
"publishToAllureReport": {
|
||||
"type": "boolean",
|
||||
"description": "Выполнять публикацию результатов в отчет Allure.\n По умолчанию выключено.\n "
|
||||
},
|
||||
"publishToJUnitReport": {
|
||||
"type": "boolean",
|
||||
"description": "Выполнять публикацию результатов в отчет JUnit.\n По умолчанию включено.\n "
|
||||
}
|
||||
}
|
||||
},
|
||||
|
26
resources/yaxunit.json
Normal file
26
resources/yaxunit.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"reportPath": "./build/out/yaxunit/junit.xml",
|
||||
"closeAfterTests": true,
|
||||
"filter": {
|
||||
"extensions": [
|
||||
"YAXUNIT"
|
||||
],
|
||||
"modules": null,
|
||||
"suites": null,
|
||||
"tags": null,
|
||||
"contexts": null,
|
||||
"paths": null,
|
||||
"tests": null
|
||||
},
|
||||
"settings": {
|
||||
"ВТранзакции": true
|
||||
},
|
||||
"reportFormat": "jUnit",
|
||||
"showReport": false,
|
||||
"logging": {
|
||||
"file": "./build/out/yaxunit/log.txt",
|
||||
"enable": false,
|
||||
"level": "debug"
|
||||
},
|
||||
"exitCode": "./build/out/yaxunit/result.txt"
|
||||
}
|
Reference in New Issue
Block a user