```yaml
pipelines:
default:
- step:
name: Integration test
image: node:10.15.0
script:
- npm install
- npm test
artifacts:
- reports/*.txt
- step:
image: node:10.15.0
script:
# 以前のstepでartifactsに指定したものがそのまま使える
- cat reports/tests.txt
```
## MOC
- 📒**関連**
- 📜**アクティビティ**
- 📝**トラブルシューティング**
- [[📝Bitbucket Pipelinesでartifactsに指定した変数が展開されない]]