ks-jenkins icon indicating copy to clipboard operation
ks-jenkins copied to clipboard

Add allure support

Open wenxinll opened this issue 3 years ago • 5 comments

I want to use Devops to manage my automated test projects, but now I cannot view graphical test results on Devops. Therefore, I hope to add the Allure Jenkins Plugin to Jenkins, and to view the test results as follow. image

More about allure https://github.com/allure-framework/allure2

/cc @LinuxSuRen @JohnNiang

wenxinll avatar Dec 17 '21 06:12 wenxinll

/cc @kubesphere/sig-devops

JohnNiang avatar Dec 17 '21 06:12 JohnNiang

hi @wenxin-01 , thanks for reaching out to us. The test report is great. But we don't intend to let users visit the page of Jenkins. Instead, it might be a good idea to show the report on the DevOps UI.

/kind feature

LinuxSuRen avatar Dec 17 '21 06:12 LinuxSuRen

hi @wenxin-01 , thanks for reaching out to us. The test report is great. But we don't intend to let users visit the page of Jenkins. Instead, it might be a good idea to show the report on the DevOps UI.

/kind feature

It's better to visit the report on DevOps UI.

wenxinll avatar Dec 17 '21 06:12 wenxinll

It's better to visit the report on DevOps UI.

I prefer to do not to expose the port of Jenkins in future versions.

LinuxSuRen avatar Dec 17 '21 06:12 LinuxSuRen

This is the API URL of it: job/name/144/allure/graphMap. The sample response data is:

<map id="map" name="map">
<area shape="poly" coords="591,41,588,41,588,41,591,41,591,41" title="&quot;#144 unknown 0&quot;" alt="" href="144/allure/"/>
</map>

The plugin URL is https://github.com/jenkinsci/allure-plugin

LinuxSuRen avatar Dec 17 '21 06:12 LinuxSuRen