Skip to content

Commit

Permalink
Move dtap param (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
timvanoostrom authored Jan 24, 2024
1 parent 373afba commit 1b5eb46
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ variables:
value: ${{ parameters.btdTest }}
- name: btdDeploy
value: ${{ parameters.btdDeploy }}
- name: dtapName
value: ${{ parameters.dtapName }}

- ${{ if or(eq(variables['Build.SourceBranchName'], 'testen'), eq(variables['Build.Reason'], 'PullRequest')) }}:
- name: dtapName
Expand All @@ -65,9 +67,6 @@ variables:
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
- name: btdDeploy
value: ${{ parameters.btdDeploy }}
- ${{ if ne(parameters.dtapName, 'none') }}:
- name: dtapName
value: ${{ parameters.dtapName }}

- ${{ if and(contains(variables['Build.SourceBranchName'], 'production-release'), eq(parameters.pipelineAction, 'btd')) }}:
- name: dtapName
Expand Down

0 comments on commit 1b5eb46

Please sign in to comment.