Skip to content

Commit

Permalink
Replace xmlTransformationRules with enableXmlTransform
Browse files Browse the repository at this point in the history
Modified `FileTransform@2` tasks in `continuous-deployment.yml`,
`functional-test-process.yml`, and `azure-pipelines.yml` files.
Removed `xmlTransformationRules` parameter and set
`enableXmlTransform` to `false`, disabling XML transformation.
  • Loading branch information
JiviteshT committed Nov 15, 2024
1 parent 5fd6a5c commit 12880a8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Deployment/templates/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ steps:
displayName: "File Transform: Ens Config" #Replace ens instance value from pipeline
inputs:
folderPath: '$(Pipeline.Workspace)/terraformartifact/src'
xmlTransformationRules:
enableXmlTransform: false
jsonTargetFiles: 'appsettings.json'

- task: PowerShell@2
Expand Down Expand Up @@ -45,7 +45,7 @@ steps:
displayName: "File Transform: WebAppSettings"
inputs:
folderPath: '$(Pipeline.Workspace)/ExternalNotificationService/*.zip'
xmlTransformationRules:
enableXmlTransform: false
jsonTargetFiles: '**/appsettings.json'

- task: AzureWebApp@1
Expand Down Expand Up @@ -87,7 +87,7 @@ steps:
condition: and(succeeded(), ne(variables['Environment.Name'], 'Ens-Live'))
inputs:
folderPath: '$(Pipeline.Workspace)/StubWebAPI/*.zip'
xmlTransformationRules:
enableXmlTransform: false
jsonTargetFiles: '**/appsettings.json'

- task: AzureWebApp@1
Expand Down
2 changes: 1 addition & 1 deletion Deployment/templates/functional-test-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ steps:
displayName: "File Transform: functionaltests"
inputs:
folderPath: '$(Build.SourcesDirectory)/functionaltests/'
xmlTransformationRules:
enableXmlTransform: false
jsonTargetFiles: '**/appsettings.json'

- task: UseDotNet@2
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ stages:
displayName: "File Transform: functionaltests"
inputs:
folderPath: '$(Build.SourcesDirectory)/functionaltests/'
xmlTransformationRules:
enableXmlTransform: false
jsonTargetFiles: '**/appsettings.json'

- task: UseDotNet@2
Expand Down

0 comments on commit 12880a8

Please sign in to comment.