Artifacts in a step defined in a parallel section

XMLWordPrintable

      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 .

              Assignee:
              Unassigned
              Reporter:
              vinimdocarmo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: