run a shell script on build failure

A support forum for our flagship product Parabuild CI, a distributed CI/CD platform.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
artem.kulakov@rockyou.com
Posts: 4
Joined: Sun Nov 27, 2011 8:26 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

run a shell script on build failure

Postby artem.kulakov@rockyou.com » Sun Nov 27, 2011 8:28 pm

Hi,

I am trying to find a way to run a shell script on build failure. We are using Parabuild 4.0

Can it be done?

Artem

support
Posts: 393
Joined: Mon Dec 06, 2010 9:22 pm
Location: Mountain View, CA
Contact:

Postby support » Mon Nov 28, 2011 7:39 pm

Hi Artem,

Parabuild has a facility that is called "Finalizer Step"

5.6.1.1.10. Finalizer Step

Check "Finalizer step" box to make this step a finalizer step. The finalizer step always runs. It allows performing work upon completion of a build run without regard to success or failure of previous build steps. The finalizer step of a leading parallel build runs after completion of dependent parallel builds."

If this is a one-step build, you can add shell commands that check the environment variables that your build may have set and act appropriately.

If this is not what you want, we'll be happy to add a new feature.

Slava

artem.kulakov@rockyou.com
Posts: 4
Joined: Sun Nov 27, 2011 8:26 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby artem.kulakov@rockyou.com » Tue Nov 29, 2011 2:16 pm

Thanks, Slava.

support
Posts: 393
Joined: Mon Dec 06, 2010 9:22 pm
Location: Mountain View, CA
Contact:

Postby support » Tue Nov 29, 2011 7:53 pm

So, is the finalizer step what you need or do you need a separate step?

Slava

artem.kulakov@rockyou.com
Posts: 4
Joined: Sun Nov 27, 2011 8:26 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby artem.kulakov@rockyou.com » Wed Nov 30, 2011 2:26 pm


support
Posts: 393
Joined: Mon Dec 06, 2010 9:22 pm
Location: Mountain View, CA
Contact:

Postby support » Wed Nov 30, 2011 2:51 pm


artem.kulakov@rockyou.com
Posts: 4
Joined: Sun Nov 27, 2011 8:26 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby artem.kulakov@rockyou.com » Wed Nov 30, 2011 2:55 pm


support
Posts: 393
Joined: Mon Dec 06, 2010 9:22 pm
Location: Mountain View, CA
Contact:

Postby support » Wed Nov 30, 2011 4:33 pm



[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “parabuild.ci.support”

Who is online

Users browsing this forum: Google [Bot] and 17 guests