Quantcast
Channel: CircleCI Discuss - Latest posts
Viewing all articles
Browse latest Browse all 14879

Label orb "jobs"

$
0
0

Building upon the automatic numbering for repeated jobs (like this example where I run node/test twice), I managed to leverage the matrix options to have better automated names: see this other example with more than one matrix and with a matrix-named dependency. Here’s the meaningful part of the config:

workflows:
  node-tests:
    jobs:
      - node/test:
          matrix:
            parameters:
              version:
                - lts # generates node/test-lts build
                - current # generates node/test-current build
      - node/test:
          version: lts
          matrix:
            parameters:
              run-command:
                - chromatic # generates node/test-chromatic build
          requires:
            - node/test-lts # depends on specifc build from previous matrix

Viewing all articles
Browse latest Browse all 14879

Latest Images

Trending Articles



Latest Images