-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Closed
Copy link
Labels
Description
New issue checklist
- I searched for existing GitHub issues
- I read pipeline troubleshooting guide
- I checked how to collect logs
Task name
FileTransform@2
Task version
2.249.1
Issue Description
The taks (and build) fails entirely if there is nothing to transform. Version 2.249.1.
Behavior before (version 2.246.1)
Environment type (Please select at least one enviroment where you face this issue)
- Self-Hosted
- Microsoft Hosted
- VMSS Pool
- Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows_NT (10.0.20348)
Relevant log output
Starting: Transform appsettings.json
==============================================================================
Task : File transform
Description : Replace tokens with variable values in XML or JSON configuration files
Version : 2.246.1
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/file-transform
==============================================================================
Applying JSON variable substitution for **/appsettings.json
Applying JSON variable substitution for H:\_work_agent\3\s\REDACTED\web\appsettings.json
Applying JSON variable substitution for H:\_work_agent\3\s\REDACTED\web\bin\Release\net8.0\appsettings.json
##[error]Failed to apply JSON variable substitution. Changes are already present in the package.
Finishing: Transform appsettings.jsonFull task logs with system.debug enabled
No response

