我在 CI 环境中运行 e2e 测试,但我看不到管道中的工件。
bitbucket-pipelines.yml:
image: cypress/base:10
options: max-time: 20
pipelines:
default:
-step:
script:
- npm install
-npm run test
artifacts:
-/opt/atlassian/pipelines/agent/build/cypress/screenshots/*
-screenshots/*.png
Run Code Online (Sandbox Code Playgroud)
也许我输入了错误的路径,但我不确定。
有人知道我做错了什么吗?