Skip to content

[BUG]: Variables with equals in the name are null at the task level but are fine at env: level on win os 2022 #4931

Open

Description

What happened?

Migrated our onprem ados agents to windows server 2022 and a task started to fail with null value issues

Versions

Agent version 3.242.1 - Windows 2022 OS

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

Azure DevOps Server (Please specify exact version in the textbox below)

Azure DevOps Server Version (if applicable)

Azure Devops Server 2022,1 20240130.2

Operation system

Windows 2022 OS

Version controll system

GIT

Relevant log output

Initialize Job
[SPEC_METADATA[?(@_NAME=='CLIENTID')]_VALUE] --> [12345689]
				[SPEC_METADATA[?(@_NAME=='CLIENTSECRET')]_VALUE] --> [jnH8Q~uHASs0hLk3WXLqg1CvE3umheKHcR-JDbCT]
				[SPEC_METADATA[?(@_NAME=='SCOPES')]_VALUE] --> [api://NautilusApi-tst/.default]
				[SPEC_METADATA[?(@_NAME=='TOKENURL')]_VALUE] --> [https://login.microsoftonline.com/12345789/oauth2/v2.0/token]



At Task Level
##[debug]spec.metadata[?(@.name=='scopes')].value=undefined
##[debug]spec.metadata[?(@.name=='tokenURL')].value=undefined
##[debug]spec.metadata[?(@.name=='clientSecret')].value=undefined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions