-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: core
-
Jenkins 2.340, Stapler 1669.v95a_4b_919a_b_a_2
When compiling Stapler with a snapshot of jenkinsci/pom#209, the following compilation error occurs:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.0:compile (default-compile) on project stapler-groovy: Compilation failure: Compilation failure: [ERROR] /home/basil/src/jenkinsci/stapler/groovy/src/main/java/org/kohsuke/stapler/jelly/groovy/StaplerClosureScript.java:[30,19] as of release 9, '_' is a keyword, and may not be used as an identifier [ERROR] /home/basil/src/jenkinsci/stapler/groovy/src/main/java/org/kohsuke/stapler/jelly/groovy/StaplerClosureScript.java:[31,16] as of release 9, '_' is a keyword, and may not be used as an identifier [ERROR] /home/basil/src/jenkinsci/stapler/groovy/src/main/java/org/kohsuke/stapler/jelly/groovy/StaplerClosureScript.java:[38,19] as of release 9, '_' is a keyword, and may not be used as an identifier
This is tracked in GitHub as jenkinsci/stapler#309.