Ability to download all artifacts from a workflow


#1

With workflows each job stores its artifacts separately. Right now I need the build number of each job, query artifacts of each build, and download them.
It would be much simpler if you could just download all artifacts from workflow build number X.

Example of what I’m doing now (relevant part of config.yaml):
This also requires a script to process the list of build numbers

jobs:
  eslint:
     steps:
      - run: |
          mkdir -p workspace/build_nums
          echo "${CIRCLE_BUILD_NUM}" > workspace/build_nums/${CIRCLE_STAGE}.num
      - persist_to_workspace:
          root: workspace
          paths:
            - build_nums
  unittests:
    steps:
      - run: |
          mkdir -p workspace/build_nums
          echo "${CIRCLE_BUILD_NUM}" > workspace/build_nums/${CIRCLE_STAGE}.num
      - persist_to_workspace:
          root: workspace
          paths:
            - build_nums
  jenkins:
    docker:
      - image: circleci/python
    steps:
      - attach_workspace:
          at: /tmp/workspace
      - deploy:
          name: Get all build numbers and pass downstream to program that needs to download artifacts

workflows:
  version: 2
  ci:
    jobs:
      - eslint
      - unittests
      - jenkins:
          context: org-global
          requires:
            - eslint
            - unittests

#2