【问题标题】:Jenkins generate allure report with old json filesJenkins 使用旧的 json 文件生成魅力报告
【发布时间】:2018-07-23 16:58:56
【问题描述】:

我在 Jenkins 中使用 2.26.0 版本的 allure 插件。 我创建了一个job with next configuration 运行它后,我在 Jenkins 的 allure report 中什么也看不到。 因为当我从 Jenkins 运行它时,它只会在我本地机器上的文件夹项目中的文件夹 'allure-results' 中创建这些文件。 如果我手动清理此文件夹并从 NetBeansit 本地运行我的项目,它将在文件夹 'allure-results' 中创建正确的 .json 文件。之后,我可以从cmd line 生成我的报告,我可以看到我漂亮的报告there

为什么 Jenkins 没有为诱惑报告生成正确的 .json 文件? 如何在 Jenkins 中使用正确的 .json 文件构建我的魅力报告?

谢谢, 阿纳斯塔西娅

【问题讨论】:

    标签: maven jenkins allure


    【解决方案1】:

    问题是因为我在 pom.xml 中使用的配置文件。 我应该delete it

    或者不删除它而只是在 Jenkins 中设置一个配置文件: -P${profileName}

    【讨论】:

      猜你喜欢
      • 2014-12-13
      • 1970-01-01
      • 2020-05-31
      • 1970-01-01
      • 2023-03-31
      • 1970-01-01
      • 2016-12-13
      • 2017-07-14
      • 2022-10-13
      相关资源
      最近更新 更多