-
Type:
Suggestion
-
Resolution: Fixed
-
Component/s: Pipelines - Run Failures
I'm trying to run two steps in parallel and one of those steps has an artifacts definition. The pipeline crash because it assumes that the bitbucket-pipelines.yml files is not valid. Here's the file:
#!yml
image: node:8.11.1
pipelines:
tags:
v*.*.*:
- parallel:
- step:
image: browserless/chrome
caches:
- node
script:
- export NODE_ENV=test
- npm install
- npm run test-ci
- step:
script:
- npm run build
artifacts:
- dist/**
- step:
name: Deploy to staging
deployment: staging
caches:
- node
script:
- npm run deploy
It would be great to have this option .