You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since v2.5.0 this bug exists in the library but went unnoticed because of little usage.
Using GradleWrapperInDocker as mentioned in the docs Gradle gradlew = new GradleWrapperInDocker(this, gradleDockerImage) leads to this error:
...
java.lang.IllegalAccessError: class com.cloudogu.ces.cesbuildlib.GradleWrapperInDocker
tried to access private field com.cloudogu.ces.cesbuildlib.GradleInDockerBase.credentialsId
(com.cloudogu.ces.cesbuildlib.GradleWrapperInDocker and com.cloudogu.ces.cesbuildlib.GradleInDockerBase
are in unnamed module of loader org.jenkinsci.plugins.workflow.cps.CpsGroovyShell$CleanGroovyClassLoader
@3e1fa0e4)
...
The problem lies in the way the superclasses field credentialsId is supposed to be written while it does not contain any visibility modifier.
The text was updated successfully, but these errors were encountered:
Jenkins was not able to set the superclasses' field from the subclass.
This commit makes the field writable by subclasses and classes from the
same package.
ppxl
linked a pull request
Jan 8, 2025
that will
close
this issue
Since v2.5.0 this bug exists in the library but went unnoticed because of little usage.
Using
GradleWrapperInDocker
as mentioned in the docsGradle gradlew = new GradleWrapperInDocker(this, gradleDockerImage)
leads to this error:The problem lies in the way the superclasses field
credentialsId
is supposed to be written while it does not contain any visibility modifier.The text was updated successfully, but these errors were encountered: