Bulding a nodejs project, I’d like to integrate another maven tests project before the deployment.
Can I use a service container or other method and use its exit code (as in success or failure) to decide whether to deploy or fail?
If I understand correctly you want to trigger a build for another project (ie a downstream project) and wait for the build to complete. If the downstream build fails, you want to fail the current build. Is this correct?
In this case it is possible but al things in drone are delegated to plugins. You could create a plugin that uses the Drone API to launch a build and them waits for it to complete by polling every N seconds for its completion.