-
Bug
-
Resolution: Fixed
-
Major
-
None
-
-
0.10.1
JENKINS-64188 appears to have broken the plugin for some users.
In v 0.10.0 upload breaks:
It seems its missing a dependency.
On jenkins LTS 2.249.3 with jre1.8.0_261 following error occurs:java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics
at okhttp3.HttpUrl$Companion.get(HttpUrl.kt)
at okhttp3.HttpUrl.get(HttpUrl.kt)
at io.jenkins.plugins.appcenter.api.AppCenterServiceFactory.createAppCenterService(AppCenterServiceFactory.java:48)
at io.jenkins.plugins.appcenter.task.internal.CreateUploadResourceTask.createUploadResourceForApp(CreateUploadResourceTask.java:55)
at io.jenkins.plugins.appcenter.task.internal.CreateUploadResourceTask.execute(CreateUploadResourceTask.java:40)
This suggests that Kotlin is not on the classpath. Why exactly I don't know because all our tests pass locally and on the CI. Additionally I am able to upload when running mvn hpi:run.
Acceptance Criteria:
- Promote the Kotlin dependencies to the main dependency block.
- Plugin works....