Exit Drone pipeline early without fail

I have a Drone pipeline that should stop and not execute any further steps but without failing. When I exit with 0 the next step will be executed, exit with 1 the pipeline is marked as failed. Is there a way?

I tried also 78 as mentioned here: How to exit a Pipeline early without Failing - #2

exit 78 works at least for me with the latest builds of drone and it’s runner.


Hey Sven thanks for verify this. This let me find the reason. I have a PowerShell pipeline and exit 78 is not working here but [Environment]::Exit(78)