Artifacts in a step defined in a parallel section

Issue #16121 resolved
Vinícius do Carmo created an issue

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:

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 .

Comments (3)

  1. Log in to comment