简体   繁体   中英

Executing SSIS job using powershell script in Azuredevops release pipeline

I am using AzureDevops release pipeline to schedule SSIS job. Job has multiple steps, if job fails for any reason the release pipeline still executes and gives Success message. How can I catch the job fail error and stop the release pipeline giving failure message. New to Azuredevops and powershell script.

Executing SSIS job using powershell script in Azuredevops release pipeline

To resolve this issue, you could try to check if you are selected the checkbox Continue on error for your powershell task:

在此处输入图片说明

If you are using YAML, try to remove continueOnError: true in you powershell task.

- task: string  # reference to a task and version, e.g. "VSBuild@1"
  condition: expression     # see below
  continueOnError: boolean  # 'true' if future steps should run even if this step fails; defaults to 'false'

If this not resolve your question, please share the configuration and build log of powershell task.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM