-
Bug
-
Resolution: Duplicate
-
Minor
-
Jenkins 2.32.1
workflow-cps 2.24 (and other plugins up to date)
Oracle Java 1.7.0_111
Debian 8
I managed to program my pipeline library so that it leads to the Jenkins job eating up all CPU, OOMing and successfully still surviving any restarts or requests to stop the job.
The following Jenkins file should help you to reproduce this:
@Library('github.com/TYPO3-infrastructure/jenkins-pipeline-global-library-chefci@bug-git-reflist-hang') def dummy org.typo3.chefci.v2.Pipeline.builder(this, steps) .buildDefaultPipeline() .execute()
This code here defines a method setKitchenLocalYmlName() which matches the synthetic accessor's name of the kitchenLocalYmlName class variable (a thing, of which I wasn't aware of).
This seems to be something that Jenkins cannot handle. Renaming the method or variable solves the problem.
The error occurs immediately after checking out the code (I thought it was during git ref-list parsing, that's why the branch is called like this).
- duplicates
-
JENKINS-31484 Endless loop in DefaultInvoker.getProperty when accessing field via getter/setter without @
- Resolved