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
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
Return to “parabuild.ci.support”
Who is online
Users browsing this forum: No registered users and 7 guests