I'm checking a job that uses the Parametrized Trigger Plugin to call other projects. There are two options that I'm trying to understand: Fail this build step if the triggered build is worse or equal to and Mark this build as failure if the triggered build is worse or equal to. There is documentation available in-place but I don't understand it as well.
- Fail this build step if the triggered build is worse or equal to: This option takes precedence over the two following ones if its value is not never. In that case, the result of the current build step (that is, success or failure) is based on the result of the triggered builds. If the condition defined for at least one of the triggered build is met, then the build step will be considered as failed.
- Mark this build as failure if the triggered build is worse or equal to: This option takes precedence over the next one if its value is not set to never. In that case, the current build will be considered as failed based on the result of the triggered builds and the value of the option.
*The third option that is implied the documentation is "Mark this build as unstable if the triggered build is worse or equal to", that I'm imagining it works the same as the second option
What's the practical difference between "build step failed" and "build failed" here? Does the first implies that the step 'fails' and the build is 'failed' but the build continues its execution? And the second sets the build as 'failed' and then stops? What happens with the 'unstable' version, as I understood that the 'unstable' status usually doesn't stop the build?