What are build strategies in multibranch and why are tags not built by default?
AdvancedConceptMultibranch, organization folders & webhooks
Answer
When a multibranch job is first created or re-indexed, it would otherwise build every discovered head, including years of old tags. So tags are discovered but not built automatically. The Basic Branch Build Strategies plugin adds strategies: build regular branches, build change requests, build tags created in the last N days, skip initial build on first indexing. A common setup: build branches and PRs, and build tags created within the last 1 day, so pushing v1.2.0 triggers a release build.
More on Multibranch, organization folders & webhooks
How does a multibranch pipeline work?BeginnerWhat is branch indexing and what triggers it?BeginnerWhat are the discovery traits in the GitHub branch source?IntermediateWhat does the fork PR trust setting protect against?AdvancedWhat environment variables are set for PR builds?BeginnerWhat is an organization folder?Intermediate