gpt4 book ai didi

jenkins - 使用外部依赖项运行集成测试。摇动

转载 作者:行者123 更新时间:2023-12-03 05:03:45 27 4
gpt4 key购买 nike

我是gradle工具的新手,并获得了下一个项目。

  • TestNG测试某些类,并用@Test注释。
  • buid.gradle,那里有个小脚本。
  • test {
    dependsOn cleanReports
    useTestNG() {
    suites 'src/test/resources/testng.xml'
    systemProperty "property1", System.getProperty("property1")
    systemProperty "property2", System.getProperty("property2")
    systemProperty "property3", System.getProperty("property3")

    listeners << 'listener.BuildReportExecutionListener'
    listeners << 'listener.TestResultListener'
    }
    }
    我想将这些测试发布到 Artifact 上,然后在Jenkins中对从 Artifact 上下载的jar文件使用 gradle clean测试来运行特定的 发布版本
    我该怎么做?

    最佳答案

    关于jenkins - 使用外部依赖项运行集成测试。摇动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63342997/

    27 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com