Pipeline yaml file is very simple: 1)make 2)run exe file.
The pipeline returns PASS even if exe file returns non-zero rc.
The rc is not even displayed in the job log.
How I check the execution return code and fail the pipeline ?
trigger:
- main
pool:
vmImage: 'windows-latest'
steps:
- script: make
displayName: '[step] make'
- script: main.exe
displayName: '[step] execute main()'