mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2025-03-04 15:51:06 +02:00
Корректное определение поиска каталога с аллюрами
This commit is contained in:
parent
2d34230670
commit
bdcfd87a47
@ -22,7 +22,9 @@ class PublishAllure implements Serializable {
|
||||
|
||||
steps.unstash('init-allure')
|
||||
|
||||
FilePath allurePath = FileUtils.getFilePath('build/out/allure')
|
||||
def env = steps.env();
|
||||
|
||||
FilePath allurePath = FileUtils.getFilePath("$env.WORKSPACE/build/out/allure")
|
||||
if (!allurePath.exists()) {
|
||||
Logger.println("Отсутствуют результаты allure для публикации")
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user