You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Provide specific error message for Azure DevOps OIDC SYSTEM_ACCESSTOKEN
121
-
if (
122
-
name=="azdo-oidc"
123
-
and"SYSTEM_ACCESSTOKEN"inenv_vars
124
-
andnotos.environ.get("SYSTEM_ACCESSTOKEN")
125
-
):
126
-
logger.debug(
127
-
"Azure DevOps OIDC: SYSTEM_ACCESSTOKEN env var not found. If calling from Azure DevOps Pipeline, please set this env var following https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#systemaccesstoken"
128
-
)
129
-
else:
130
-
logger.debug(f"{name}: required environment variables not present, skipping")
error_msg="Azure DevOps OIDC: SYSTEM_ACCESSTOKEN env var not found. If calling from Azure DevOps Pipeline, please set this env var following https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#systemaccesstoken"
0 commit comments