Closed anuvratashu closed 7 years ago
don't work too! I have TC 9.1.7 and Java 1.8.
I encountered same issue with TeamCity 10.0:
allure-commandline.zip
in Administration -> Integrations -> Tools
section.buildagent/tools/allure-commandline
buildagent/tools/generic.allure-commandline
For each subfolder in tools
TeamCity will create configuration parameter on each build agent with following name: teamcity.tool.subfolder
.
Allure TeamCity plugin uses teamcity.tool.allure-commandline
parameter to determine compatible runners but since subfolder name is invalid it shows incompatible runner error.
I'm not sure who should fix this behavior (Allure or TeamCity) but you can apply one of the following quick fixes:
buildagent/tools/generic.allure-commandline
to buildagent/tools/allure-commandline
and restart them orteamcity.tool.allure-commandline=<absolute path to allure-commandline>
and restart them
teamcity.tool.allure-commandline=/opt/buildagent/tools/generic.allure-commandline
Hi! Sorry for the delay. I'll take a look
I did step 2, and dont have problem. Thank
I can confirm that since TC10 uploaded tools have name with generic.
prefix.
You can also upload your own tool as a .zip archive: the structure of the tool plugin is described on the Plugins Packaging page. TeamCity will use the name of the zip file as the tool name on all agents. The zip file will be automatically unpacked on the agents to the directory with the same name. Docs
@nskvortsov @ekoshkin Hi! Is this works like expected? How am I supposed to deal with this?
@baev it is a regression in TeamCity 10, I've created an issue for it https://youtrack.jetbrains.com/issue/TW-46452
Thanks
@valmaev quick fixes does not worked in my end with TeamCity v10.0. may i know the allure-teamcity-plugin and allure-commandline you used?
@anuvratashu it doesn't matter which version of Allure you are using. Make sure you have an agent with allure-commandline
tool installed (Agents -> Select agent -> Agent Parameters -> Configuration Parameters contains teamcity.tool.allure-commandline
parameter with the right path to Allure commandline)
TeamCity 10.0.1 released and TW-46452 should be fixed.
I have TC 9.1.7 and Java 1.7. However, the error is still comming up Incompatible runner: Allure Report not sure how to add the allure reporting to the Teamcity.
if i remove the Allure Report then the build runs fine.