Skip to content

Commit 34c65a6

Browse files
committed
Updated azure resources step template
1 parent ecb6de1 commit 34c65a6

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎cicd/adf-cicd/adf-build.yml‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ steps:
3535
inputs:
3636
command: "custom"
3737
workingDir: ${{ parameters.WorkingDirectory }}
38-
customCommand: 'run build export ${{ parameters.WorkingDirectory }} /subscriptions/$(DEVSubscriptionID)/resourceGroups/${{ parameters.ResourceGroupName }}/providers/Microsoft.DataFactory/factories/${{ parameters.DataFactoryName }} "ArmTemplate"'
39-
env:
40-
DEVSUBSCRIPTIONID: $(DEVSubscriptionID)
41-
# DevSubscriptionID is a secret variable. Secret variables have to be mapped explicitly. Go to the pipeline in Azure DevOps and select edit pipeline and then click variables and click the checkbox to save a variable as secret variable.
38+
customCommand: 'run build export ${{ parameters.WorkingDirectory }} /subscriptions/$(DEVSubscriptionID)/resourceGroups/${{ parameters.ResourceGroupName }}/providers/Microsoft.DataFactory/factories/${{ parameters.DataFactoryName }} "ArmTemplate"'
39+
# DEVSubscriptionID is a secret variable. Go to the pipeline in Azure DevOps and select edit pipeline and then click variables and click the checkbox to save a variable as secret variable.
4240

4341
- task: PublishPipelineArtifact@1
4442
displayName: "Publish ADF ARM Template And Scripts"

0 commit comments

Comments
 (0)