Question
What is the difference between a trigger and a schedule in Azure Pipelines?
Click to reveal answer
Answer
Triggers react to events (push, PR). Schedules (cron) run at fixed times regardless of code changes. Both are defined in YAML.
Click to flip back
All CI/CD Pipeline Flashcards
Q: What is the difference between a trigger and a schedule in Azure Pipelines?
A: Triggers react to events (push, PR). Schedules (cron) run at fixed times regardless of code changes. Both are defined in YAML.
Q: What are pipeline templates used for?
A: Reusable pipeline definitions that can be extended or included. They promote consistency and reduce duplication across multiple pipelines.
Q: What is a deployment gate?
A: An automated check between pipeline stages. Gates query external services (Azure Monitor, ServiceNow) and only proceed when conditions are met.
Q: How do environments work in GitHub Actions?
A: Environments define deployment targets with protection rules: required reviewers, wait timers, and branch restrictions. Secrets can be scoped to environments.
Q: What is a service connection in Azure Pipelines?
A: An authenticated connection to an external service (Azure subscription, Docker registry, npm). Uses service principals or managed identities.