Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-16121

Artifacts in a step defined in a parallel section

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      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 .

      Attachments

        Activity

          People

            Unassigned Unassigned
            8364d0f945b1 vinimdocarmo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: