Hello,
I would like to know why a pipeline would fail even though phpunit passes tests.
Please take a look at the screenshot attached.
Thanks,
Kind Regards,
Dmitry.
Hey Dmitry, pipeline uses the return code of your scripts to determine if it was successful; 0 is good, anything else is an error.
If you run just your phpunit tests, do they return a 0 exit code?
Hi Sebastian,
Thanks for your reply.
You are correct, it was a deployment script that was running
on a remote machine that was failing and causing a pipeline to fail.
The issue is now resolved and my pipelines complete correctly.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.