A multibranch pipeline began failing with a StackOverflowError after updating these plugins to 1.4.0. Rolling back to 1.3.9 resolved the issue.
- Pipeline: Declarative
- Pipeline: Declarative Extension Points API
- Pipeline: Model API
- Pipeline: Stage Tags Metadata
This particular pipeline uses a when statement to bypass a block of stages. These stages are configured as sequential stages, three stages within a parent stage where the when statement is. If the stages are not skipped then the error does not occur.
The pipeline is running on the master (Windows) system with no slaves defined.
Attached is a simplified pipeline and the console output. I've defined the BRANCH_NAME environment variable manually to simulate a Git branch.
For some reason, this was the simplest pipeline I could create. Taking out a seemingly unrelated stage or environment block would allow it to run without error.