下载未找到工件
上载工件成功工作 00:00 上传文物... 警告:siteSpeed-cresults/:无匹配的文件
错误:没有文件上传
上传文物... 警告:浏览器 - 表现:json:无匹配的文件 错误:没有文件上传
清理项目目录和基于文件的变量 00:01 工作成功的
gitlab-ci.yaml示例:
包括: 模板:验证/浏览器 - 绩效.gitlab-ci.yml
browser_performance: 变量: url: https://example.com degradation_threshold:5
Uploading artifacts for successful job
00:00
Uploading artifacts...
WARNING: sitespeed-results/: no matching files
ERROR: No files to upload
Uploading artifacts...
WARNING: browser-performance.json: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
00:01
Job succeeded
gitlab-ci.yaml example :
include:
template: Verify/Browser-Performance.gitlab-ci.yml
browser_performance:
variables:
URL: https://example.com
DEGRADATION_THRESHOLD: 5
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
当找不到匹配文件时,通常会发生此错误。将文件移至主要目录,或指定文件和文件夹的正确路径。无论您的脚本在哪里结束,Gilab Runner都总是在项目的主要/根目录中搜索这些文件。
This error usually happens when there are no matching files found. Either move the files to the main directory, or specify the correct path to the files and folders. No matter where your script ends, gilab runner always searches for these files in the main/root directory of the project.
在
内创建一个新文件夹$ bitbucket_clone_dir
然后在该新文件夹中复制所需的伪像?之后,将新文件夹用作您的工件。
请参阅下面的示例步骤:
我希望这有效
create a new folder inside
$BITBUCKET_CLONE_DIR
then copy your desired artifacts in that new folder?After that, use the new folder as your artifacts.
See sample step below:
I hope this works
检查您在“工件”部分中提供的路径:
如果您仅选择具有以下特定扩展名的文件,那么Gitlab Runner将无法找到具有任何其他扩展名的文件:
因此,请小心您在此处提到的内容。”路径”
Check the path you have provided in the artifacts section:
If you are choosing files only with some specific extensions like below, then GitLab Runner will not be able to find files with any other extensions:
So be careful with what are you mentioning in the "paths"