1. Resources
  2. /
  3. Blog
  4. /
  5. Status Badges and Environment Variables

Status Badges and Environment Variables

1 minute read

Today we’re announcing two new project-related features: 🐝 project environment variables, and the much anticipated 🐼 build status badges.

Project Environment Variables

One of the first lessons in automation wizardy 101 🎩 is refactoring your build pipeline’s large monolithic build steps into smaller, more isolated build steps. Smaller build steps can be more easily distributed across multiple build agents, help to isolate and debug build flakiness, and are easier to optimize.

To help you keep things DRY you can now define environment variables not just on each build step, but across an entire project’s build pipeline.

You can set Project Environment Variables on the Project Settings page:

Project Settings button Where to find Project Settings

Project environment variables

Build Status Badges

Show off your project’s current build status (or provide some extra team motivation to keep it green 😉) with a project build status badge. You can see it here on the newly revamped buildbox-agent readme:

The badge shows the status of your project’s last build. You can scope it to a specific branch by adding a branch param to the end of the URL, for example: ?branch=master

Grab your project’s Build Status Badge on the Project Settings page:

![Project Settings button](https://www.datocms-assets.com/29977/1597036975-build-status-badge-project-settings-button-7649799fa10312fe3fae17c158f301a3266d935ed7097e88299fb5410b409a66.png)*Where to find Project Settings*

The Build Status Badge section in Project Settings

We’ve also written up a new guide which covers how to use the badges, how to customise their colours (there’s themes for Slack, GitHub, and more), and how to contribute new themes via GitHub.

Thanks to everyone who provided such great feedback. Keep it coming, and happy building! 👷‍♀️ 🔨 🚀


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