“存档工件”Jenkins post build操作运行5分钟:
21:58:26 WARN: No artifacts found that match the file pattern "direct/path/to/non-existing.artifact". Configuration error?
22:03:55 WARN: ?direct/path/to/non-existing.artifact? doesn?t match anything: ?direct? exists but not ?direct/path/to/non-existing.artifact?这不是配置错误,如果没有产生工件,我只想跳过工件归档。有办法这样做吗?对这一现象有什么已知的解释吗?我假设Jenkins试图搜索类似于模式的工作区,并且由于工作区很大,这取决于算法,理论上搜索需要5分钟。
发布于 2015-05-20 15:27:42
您可以使用柔性出版插件来设置构建后的条件。将其配置为执行“存档工件”,只在构建成功或任何条件发生时才执行。
https://stackoverflow.com/questions/30345707
复制相似问题