Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Secret variables are not replaced #36

Description

@miriamgroeneveld

When trying to replace as password with a secret variable, the tokenization step fails:
When changing the variable to plain text, tokenization works as expected.

2019-01-22T08:24:26.4900817Z Temp File: D:\Centric\Key2Zaken\DevKey2Zaken\Suite4Zaken\www\Tasks.Service\appsettings.json.tmp
2019-01-22T08:24:26.4900960Z
2019-01-22T08:24:26.4901046Z
2019-01-22T08:24:26.4901192Z Token DATABASEPASSWORD2
2019-01-22T08:24:26.4901295Z
2019-01-22T08:24:26.4901381Z
2019-01-22T08:24:26.5133123Z ##[error]System.Management.Automation.RemoteException: DATABASEPASSWORD2 variable not set
2019-01-22T08:24:26.5143418Z at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
2019-01-22T08:24:26.5143713Z at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
2019-01-22T08:24:26.5144018Z at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
2019-01-22T08:24:26.5144324Z at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection1 input, PSDataCollection1 output, PSInvocationSettings settings)
2019-01-22T08:24:26.5144645Z at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection1 input, PSDataCollection1 output, PSInvocationSettings settings)
2019-01-22T08:24:26.5145252Z at Microsoft.TeamFoundation.DistributedTask.Handlers.LegacyVSTSPowerShellHost.VSTSPowerShellHost.Main(String[] args)
2019-01-22T08:24:26.5321670Z ##[error]LegacyVSTSPowerShellHost.exe completed with return code: -1.
2019-01-22T08:24:26.5334846Z ##[section]Finishing: Tokenization: Transform file appsettings.json

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions