kubesphere / ks-jenkins

Jenkins distribution for Kubesphere
Apache License 2.0
24 stars 30 forks source link

Add allure support #68

Open wenxinll opened 2 years ago

wenxinll commented 2 years ago

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

JohnNiang commented 2 years ago

/cc @kubesphere/sig-devops

LinuxSuRen commented 2 years ago

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

wenxinll commented 2 years ago

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.

LinuxSuRen commented 2 years ago

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 commented 2 years ago

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