What problem does it solve?
Managing pipeline variables across BK-CI pipelines is complex: their creation, initialization, propagation, extension, and querying across stages and sub-pipelines can lead to configuration drift and runtime errors. This Skill provides a comprehensive guide to variable lifecycles and field extensions, clarifying how variables are defined, initialized, stored, transmitted, and debugged.
Core Features & Use Cases
- Lifecycle management: creation, initialization, dynamic updates, storage, and querying across stages and jobs.
- Field extension: how to add new variable attributes and ensure front-end/back-end synchronization.
- Cross-pipeline and cross-job propagation: how variable values flow from triggers to tasks and across parent/child pipelines.
- Reference-driven development: architectural references to BuildFormProperty, Variable, and VariableTransfer to align backend and YAML models.
Quick Start
Use this Skill to understand how pipeline variables work, then consult reference/1-lifecycle.md for lifecycle details and reference/2-extension.md for extension guidance.