-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
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
transforms: true does not work #25
Comments
Hi @twinpiloot, For previous versions the input name hasn't changed. |
Hi, I've attached the log. Look for "##[error]variable 'upper(Infra.Environment.ShortName)' not found". |
This is what I had. Could it be that you are using version 6.0.5 and I 6.0.4?
|
The changes between 6.0.4 and 6.0.5 didn't change anything on inputs or transforms. I've tested with this YAML and still it's working: - task: replacetokens@6
inputs:
root: '$(Pipeline.Workspace)'
sources: |
**/issue-25/*.txt
encoding: 'auto'
addBOM: true
escape: 'off'
missingVarLog: error
keepToken: false
tokenPrefix: '#{'
tokenSufix: '#{'
transforms: true
logLevel: debug I though maybe it was the agent not understanding input aliases but you are using other aliases (root, sources, addBOM...) without issues. Could you share a redacted log with system diagnostics enabled to see what are the inputs received by the task and also the azure pipelines agent version? Also not that you should replace |
It works for me :-) |
The release notes say that enableTransforms has been renamed to transforms. This does not seem to be true. transforms does not work while enableTransforms still work.
The text was updated successfully, but these errors were encountered: