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
run a shell script on build failure
-
- 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
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
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
-
- 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
-
- 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
-
- 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
Return to “parabuild.ci.support”
Who is online
Users browsing this forum: Google [Bot] and 17 guests