詹金斯得到一个具有随机后缀的工件的文件名
Jenkins get a filename of an artifact which has random suffix
当我 运行 使用 Jenkins 进行 Webdriver 测试时,生成的扩展报告带有日期后缀。
Example-SingleExecutionReport_11-08-2021 13-32-54.html
为了发表报告,我想在
要存档的文件字段。
MultiWebdriverDemo/ExtentReport/SingleExecutionReport_11-08-2021 13-32-54**.html
我怎样才能做到这一点?
为需要匹配该后缀的部分提供正则表达式符号 *,以便它匹配任何字符。
MultiWebdriverDemo/ExtentReport/SingleExecutionReport_*.html
构建完成后报告应该可用。
当我 运行 使用 Jenkins 进行 Webdriver 测试时,生成的扩展报告带有日期后缀。
Example-SingleExecutionReport_11-08-2021 13-32-54.html
为了发表报告,我想在 要存档的文件字段。 MultiWebdriverDemo/ExtentReport/SingleExecutionReport_11-08-2021 13-32-54**.html
我怎样才能做到这一点?
为需要匹配该后缀的部分提供正则表达式符号 *,以便它匹配任何字符。
MultiWebdriverDemo/ExtentReport/SingleExecutionReport_*.html
构建完成后报告应该可用。