Hello Bitrise community! We have an exciting update. Our team has been hard at work to provide you with a more flexible and powerful build-triggering system. We’re thrilled to introduce Target-based build triggers—a feature that gives you advanced control over your build orchestration.
What’s new?
You can now set up build triggers directly within your workflows or pipelines. This creates a more intuitive and direct connection between your target (workflows or pipelines) and their build triggers. You can do this via the UI (see screenshot above) or the YAML (see details below).
Additionally, this new build triggering system allows you to initiate multiple targets independently from a single Git event, which wasn’t possible previously. This means you can run relevant parts of your CI concurrently, all based on the scope of your code changes. Whether you’re working with Android, iOS, or shared code, you can trigger builds independently without bundling them into a single pipeline.
Key benefits
- Smarter control: Run multiple workflows or pipelines independently, enabling precise control over build processes.
- Simplified configuration: The new model makes setting up triggers straightforward, removing some of the complexity with the previous configuration.
- Future-proof design: Prepared for future enhancements, ensuring Bitrise remains at the forefront of CI/CD solutions.
Use cases
- Monorepo management: Trigger specific pipelines for each library independently based on code changes.
- Multi-trigger branch handling: Initiate multiple pipelines from the same branch, like a release branch, to run concurrent tests, builds, and releases.
How to get started
Check out the documentation here for the UI and here for the YAML.
Transitioning to the new model
Your existing configurations will continue functioning as before, but we recommend migrating to the new model to unlock its full potential. Don’t worry—it’s a gradual process, and you can start with specific workflows or pipelines.
Thank you for being a part of the Bitrise community. We can’t wait to see how you leverage these new capabilities to optimize your development workflows. Happy coding