Jenkins-PowerShell set fail while exception occurred.

  When upgraded Jenkins Power Shell Plug in 1.3 version.Due to it runs Non-Interactive.Therefore, it always reports success no matter some exception occurred.



When an exception occurred that to be considered as a failure, you have to add some check condition as below.

Popular posts from this blog

Jenkins-Parameterized Build Sub-flow

SQL Server pass parameter to Procedure

Stopping TypeScript Compile to accelerate debugging