Scope Pipeline Environment Variables
Separate Pipeline-wide configuration from stage-only release data.
A beginner Jenkins challenge worth 3 points. Solve it hands-on in a real Jenkins environment in your browser - no local setup, no fake shells.
The Challenge
Scenario: A release-only value is missing during Build and must not leak into later stages.
Requirements:
- Keep
APP_ENV=stagingavailable Pipeline-wide - Set
RELEASE_CHANNEL=canaryin a stage-levelenvironmentblock on Build - Confirm the value is absent in Verify scope
- Run a successful build