spike icon indicating copy to clipboard operation
spike copied to clipboard

spike compilation errors do not exit 0

Open aegaas opened this issue 7 years ago • 1 comments

exiting non-zero is a common unix convention that allows for scripted pipelines to work properly.

For instance, on our production app we've discovered that our pipeline improperly destroyed a site when a build error occurred when our upstream data provider's payload changed, thus destroying the site.

Can we get an exit code on compile error so the rest of the build pipeline fails instead of blank sites are instead getting deployed or additional scripting checks are needed to work around this?

aegaas avatar Jul 30 '18 23:07 aegaas

Sure! Interested in contributing this fix? It should be quite easy.

jescalan avatar Jul 31 '18 00:07 jescalan