1. Resources
  2. /
  3. Blog
  4. /
  5. Announcing the new `group` step type

Announcing the new `group` step type

1 minute read

Screenshot of code using the new `group` step, and the resulting UI

Teams with large and complex pipelines can now use the new group step type to better organize their pipelines ✨. The group step allows steps to be displayed in logical groupings and nested under a top level group, displayed as the step label on the build page 🏗 👀

An example use case might be the grouping of your package security audits. This would provide a clear visual indicator if any of your packages have failed their audits, have potential security vulnerabilities and need upgrading, allowing you to quickly diagnose and resolve any issues before moving on to deployment related steps 🩺 💻 💗

1
2
3
4
5
6
7
8
9
10
11
12
13
steps:
  - group: "🔏 Security Audits"
    id: "audits"
    depends_on: 
      - "docker"
      - "linting"
    steps:
      - label: ":brakeman: Brakeman"
        command: ".buildkite/steps/brakeman"
      - label: ":bundleaudit: Bundle Audit"
        command: ".buildkite/steps/bundleaudit"
      - label: ":yarn: Yarn Audit"
        command: ".buildkite/steps/yarn"

The optional depends_on attribute creates dependencies between collections of steps. For example, "audits" might depends_on everything in the "docker" step and "linting" group passing first. If any steps in the "linting" group fail the build won't move on to run any of the steps in the "audits" group.

So as well as reducing visual complexity, the new group step allows teams more control in modeling their pipeline flows, optimizing for performance and diagnostics.

For more information check out the documentation 📚

Welcome to your new minimalist and organized pipelines ✨


Related posts

Start turning complexity into an advantage

Create an account to get started with a 30-day free trial. No credit card required.

Buildkite Pipelines

Platform

  1. Pipelines
  2. Pipeline templates
  3. Public pipelines
  4. Test Engine
  5. Package Registries
  6. Mobile Delivery Cloud
  7. Pricing

Hosting options

  1. Self-hosted agents
  2. Mac hosted agents
  3. Linux hosted agents

Resources

  1. Docs
  2. Blog
  3. Changelog
  4. Webinars
  5. Plugins
  6. Case studies
  7. Events

Company

  1. About
  2. Careers
  3. Press
  4. Brand assets
  5. Contact

Solutions

  1. Replace Jenkins
  2. Workflows for AI/ML
  3. Testing at scale
  4. Monorepo delivery

Support

  1. System status
  2. Forum