Есть отличная удаленная работа для php+codeception+jenkins+allure+docker спецов. 100% remote! Присоединиться к проекту

Allure report выдает ошибку "Error: Could not find or load main class Files" в Jenkins

jenkins
allure
Теги: #<Tag:0x00007f7b68d736c0> #<Tag:0x00007f7b68d73210>

(Andrii Chorniak) #1

Добрый день!
Локально отчет allure создается, а вот в jenkins не генерится. Версия allure commandline 1.4.18 (хотя пробовал и выше версии, не помогло). Проперти сетил, тоже не помогло
“-Dhudson.model.DirectoryBrowserSupport.CSP=default-src ‘self’; script-src ‘self’ ‘unsafe-inline’ ‘unsafe-eval’; style-src ‘self’ ‘unsafe-inline’;”
“-Djenkins.model.DirectoryBrowserSupport.CSP=default-src ‘self’; script-src ‘self’ ‘unsafe-inline’ ‘unsafe-eval’; style-src ‘self’ ‘unsafe-inline’;”
Помогите плиз, если кто-то сталкивался с этим.

[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Skipped “Allure” report, file “allure-maven-plugin.html” already exists for the English version.
[INFO] Skipped “Allure” report, file “allure-maven-plugin.html” already exists for the English version.
[INFO] Generating “Allure” report — allure-maven-plugin:2.4
[INFO] Generate Allure report (report) with version 1.4.23
[INFO] Generate Allure report to C:\Program Files (x86)\Jenkins\workspace\Selenide-Allure-Prom-ua\default\target\site/allure-maven-plugin
[INFO] Found results directory C:\Program Files (x86)\Jenkins\workspace\Selenide-Allure-Prom-ua\default\target\allure-results
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.873 s
[INFO] Finished at: 2016-08-11T14:41:29+03:00
[INFO] Final Memory: 47M/386M
[INFO] ------------------------------------------------------------------------
[default] $ “C:\Program Files (x86)\Jenkins\tools\ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation\Allure\bin\allure.bat” generate ‘“C:\Program Files (x86)\Jenkins\workspace\Selenide-Allure-Prom-ua\default\target\allure-results”’ ‘“C:\Program Files (x86)\Jenkins\workspace\Selenide-Allure-Prom-ua\default\allure573032744682914681.tmp\environment”’ -o ‘“C:\Program Files (x86)\Jenkins\workspace\Selenide-Allure-Prom-ua\default\allure573032744682914681.tmp\allure-report”’
Error: Could not find or load main class Files
copy matrix build results to directory [C:\Program Files (x86)\Jenkins\workspace\Selenide-Allure-Prom-ua\allure55]
Build step ‘Allure Report’ marked build as failure
Finished: FAILURE

При смене версии allure commandline 1.4.23
выдает такой лог

[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.142 s
[INFO] Finished at: 2016-08-11T15:15:50+03:00
[INFO] Final Memory: 47M/399M
[INFO] ------------------------------------------------------------------------
[default] $ “C:\Program Files (x86)\Jenkins\tools\ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation\Allure\bin\allure.bat” generate ‘“C:\Program Files (x86)\Jenkins\workspace\Selenide-Allure-Prom-ua\default\target\allure-results”’ ‘“C:\Program Files (x86)\Jenkins\workspace\Selenide-Allure-Prom-ua\default\allure210748596125577916.tmp\environment”’ -o ‘“C:\Program Files (x86)\Jenkins\workspace\Selenide-Allure-Prom-ua\default\allure210748596125577916.tmp\allure-report”’
\Jenkins\tools\ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation\Allure was unexpected at this time.
copy matrix build results to directory [C:\Program Files (x86)\Jenkins\workspace\Selenide-Allure-Prom-ua\allure57]
Build step ‘Allure Report’ marked build as failure
Finished: FAILURE