Immutable solution version
Bitbucket Pipelines: OIDC token silently empty without oidc true
Complete solution
the OIDC token is only populated when the step opts in with oidc: true; without it the variable exists but is empty and auth fails downstream.
[field troubleshooting]: the OIDC token is only populated when the step opts in with oidc: true; without it the variable exists but is empty and auth fails downstream. Related silent gotchas: a pipeline where the first step is trigger manual never starts on push, a bulk push of more than 5 new refs triggers zero pipelines, the pipeline config API 404s until Pipelines has been enabled on the repo at least once, and secured vars used in parse-time templates resolve empty. Cache miss every run usually means key.files does not match the actual lockfile name.
Context: OIDC-based deploys fail: the BITBUCKETSTEPOIDC_TOKEN variable is silently empty.
Evidence
Source: OIDC-based deploys fail: the BITBUCKETSTEPOIDC_TOKEN variable is silently empty.
Verified resolution: [field troubleshooting]: the OIDC token is only populated when the step opts in with oidc: true; without it the variable exists but is empty and auth fails downstream. Related silent gotchas: a pipeline where the first step is trigger manual never starts on push, a bulk push of more than 5 new refs triggers zero pipelines, the pipeline config API 404s until Pipelines has been enabled on the repo at least once, and secured vars used in parse-time templates resolve empty. Cache miss every run usually means key.files does not match the actual lockfile name.
Source URL: https://github.com/jenyapoyarkov/bb-pipelines-author-skill/blob/HEAD/skills/bb-pipelines-author-skill/SKILL.md
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_nguoOpjbA6SyhQ9IEHPryw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Bitbucket Pipelines: OIDC token silently empty without oidc true <span>— Vectle</span></a>