Hi,
I'm using this extension to run a Powershell script to restore an Oracle Database.
The Oracle import (impdp) runs successfully but with some errors and returns a $LastExitCode of 5.
I want my script to check the $LastExidCode and mark the task as successful.
I've tried the following but my task always completes as failed:-
Write-Host "DB Restored successfully"
Write-Host "##vso[task.complete result=Succeeded;]DONE"
##vso[task.complete result=Succeeded;]DONE
Am i doing something wrong here?
Thanks for your help,
Darren
Hi,
I'm using this extension to run a Powershell script to restore an Oracle Database.
The Oracle import (impdp) runs successfully but with some errors and returns a $LastExitCode of 5.
I want my script to check the $LastExidCode and mark the task as successful.
I've tried the following but my task always completes as failed:-
Write-Host "DB Restored successfully"Write-Host "##vso[task.complete result=Succeeded;]DONE"##vso[task.complete result=Succeeded;]DONEAm i doing something wrong here?
Thanks for your help,
Darren