[Azure Devops] - How to use Azure Devops variables saved as secret in a maven jar

Pritam Pathak 1 Reputation point

I'm trying to store app Id and secret as ADO pipeline variables but storing them as secret makes them unavailable in environment variables. Documentation mentions we need to explicitly bind a task scoped variable to the secret variable to use it in a task but maven task doesn't support the environment section.
Is there any way to achieve this?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,987 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dave Patrick 426.3K Reputation points MVP

    Devops / TFS is not currently supported here on QnA. The product group for Azure DevOps / TFS actively monitors questions over at

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments