-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excessively nested closures/functions error with trivial Jenkinsfile #196
Comments
Hrm, sounds like a defect. Just to confirm, your Jenkinsfile lives in a separate git repo, correct? (I don't see that in the logs, but I wasn't sure if that was intentionally redacted) |
separate repo from your terraform-pipeline code? yes |
Confirmed defect - it was introduced in v5.3 (and works in v5.2). Looks like the latest version of the "Pipeline: Groovy" plugin is confusing the terraform-pipeline/src/Jenkinsfile.groovy Lines 67 to 81 in 4f04850
Tagging fix for v5.5 release |
This defect also uncovered CPS errors. Fix coming in Issue #151 |
Merged into v5.5-dev |
I'm using this library with a trivial Jenkinsfile:
and I get an error:
which then continues with a stacktrace that I can attach if it helps.
My guess is that I'm just doing something wrong because I haven't used this before, but I'd be grateful for suggestions for where I'm going wrong. (Jenkins LTS: 2.204.2, all plugins updated according to pluginManager)
The text was updated successfully, but these errors were encountered: