I have a pipeline set up that builds multiple project configurations. The order of building the confgurations doesn't matter, all that matters is whether all builds succeeded.
What I'd like to know is to which build configuration failed in the previous run of the pipeline (if the pipeline failed). The plan is to use this information to start the next build from that configuration, as it's likely the one which is going to fail again. I can already access previous pipeline build status using currentBuild.getPreviousBuild().result
. Either of the following would work for me:
- Is it possible to store information between pipeline runs (full runs, not pipeline stages in the same run)?
or
- Is it possible to get the stage at which previous pipeline has failed on?