Jenkins not able to identify the correct directory for the generated allure report xml file

后端 未结 2 591
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-22 09:37

I have integrated successfully Allure report to my maven based testNG project and able to see that report using the jetty server. But now I am trying to integrate the allure rep

2条回答
  •  醉梦人生
    2021-01-22 09:49

    Finally I got the answer. The problem was my jenkins configuration not in allure report. I was importing my project in a incorrect way so my jenkins was trying to find the report in jenkin's workspace directory but there was nothing.

    So what I did, I re-import my maven project to jenkins as a free-style project and set the custom workspace to my actual project directory. Now everything works fine.

提交回复
热议问题