We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi everyone,
when using the tokenizer to apply tokens for a directory structure, it doesn't handle directories well.
My structure consists of the following directories and files:
consul/deploy -> /config -> /server1.json -> /server2.json -> ... -> docker-compose.yml
I want to replace tokens in every file inside the deploy directory. I've tried several ways to achieve this:
deploy
- task: Tokenizer@0 inputs: sourcePath: 'consul/deploy/' sourceFilesPattern: '**' tokenDataSource: 'environmentVariables'
Result:
Checking for tokens in /azp/agent/_work/20/s/consul/deploy ##[error]EISDIR: illegal operation on a directory, read
- task: Tokenizer@0 inputs: sourcePath: 'consul/deploy/' sourceFilesPattern: '*.json|*.yml' tokenDataSource: 'environmentVariables'
##[warning]No files found for pattern *.json|*.yml
The text was updated successfully, but these errors were encountered:
Any updates on if the tokenizer operation will be supported on directories?
Sorry, something went wrong.
I've switched to qetza.replacetokens because of this requirement.
qetza.replacetokens
No branches or pull requests
Hi everyone,
when using the tokenizer to apply tokens for a directory structure, it doesn't handle directories well.
My structure consists of the following directories and files:
I want to replace tokens in every file inside the
deploy
directory.I've tried several ways to achieve this:
Method 1
Result:
Method 2
Result:
The text was updated successfully, but these errors were encountered: