Skip to content

Commit

Permalink
remove duplicate step
Browse files Browse the repository at this point in the history
  • Loading branch information
aguard-redgate committed Feb 22, 2024
1 parent b4b9686 commit 310f6b0
Showing 1 changed file with 0 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,29 +74,6 @@ stages:
ArtifactName: '$(DRIFT_AND_CHANGE_REPORT_DISPLAY_NAME)'
PathtoPublish: '$(System.ArtifactsDirectory)\$(databaseName)-$(Build.BuildId)-$(DRIFT_AND_CHANGE_REPORT)'

- ${{if and( eq( parameters.staticCodeAnalysis, false), eq( parameters.generateReport, true))}}:
- job: ChangeReport
displayName: Change Report
variables:
- group: ${{parameters.targetCredentials}}
- group: ${{parameters.pipelineParameters}}
- group: redgate_global_vars
steps:

- script: '$(FLYWAY) info check -dryrun -url="$(target_database_JDBC)" -reportFilename="$(System.ArtifactsDirectory)\$(databaseName)-$(Build.BuildId)-$(DRIFT_AND_CHANGE_REPORT)" -locations="filesystem:$(WORKING_DIRECTORY)\migrations"'
workingDirectory: '$(WORKING_DIRECTORY)'
continueOnError: false
displayName: '$(DRIFT_AND_CHANGE_REPORT_DISPLAY_NAME)'
env:
FLYWAY_CLEAN_DISABLED: false

- task: PublishBuildArtifacts@1
displayName: 'Publish $(DRIFT_AND_CHANGE_REPORT_DISPLAY_NAME)'
condition: always()
inputs:
ArtifactName: '$(DRIFT_AND_CHANGE_REPORT_DISPLAY_NAME)'
PathtoPublish: '$(System.ArtifactsDirectory)\$(databaseName)-$(Build.BuildId)-$(DRIFT_AND_CHANGE_REPORT)'

- ${{if eq(parameters.generateReport, false)}}:
- job: ChangeReport
displayName: Change Report
Expand Down

0 comments on commit 310f6b0

Please sign in to comment.