-
Notifications
You must be signed in to change notification settings - Fork 50
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
Upgrading to 0.43.0 breaks the gradle-plugin build #190
Comments
@wolfs I was able to get this working by adding testRuntimeOnly 'org.jenkins-ci.main:jenkins-war:2.138.4'
This issue is annoying (#186), but it isn't the reason the test fails.
97e53d5 removed
I'm considering adding |
Unfortunately tests were failing after the upgrade to JPI plugin v0.43.0, due to [0]. To solve this, we make sure we re-add it for runtime only, using the Jenkins version we're targeting. [0]: jenkinsci/gradle-jpi-plugin#190 (comment)
to fix tests. See jenkinsci/gradle-jpi-plugin#190 why this is necessary.
Awesome, that worked. Thank you! |
Version report
See the build scan: https://ge.gradle.org/s/7yrrxp2mfwsdg/tests/:test/hudson.plugins.gradle.GradlePluginIntegrationTest/Config%20roundtrip?top-execution=1
I am using this PR of the Gradle plugin: jenkinsci/gradle-plugin#114
Reproduction steps
Run
./gradlew test --tests "hudson.plugins.gradle.GradlePluginIntegrationTest.Config roundtrip"
Results
Expected result:
The test passes.
Actual result:
The test fails with:
I tried adding a
org.jenkins-ci.modules:instance-identity:2.1
version totestImplementation
, though the test keeps failing: https://ge.gradle.org/s/qir5zxifplv5i/tests/:test/hudson.plugins.gradle.GradlePluginIntegrationTest/Config%20roundtrip?top-execution=1I tried the gradle jpi plugin versions and all of them work up to 0.42.0. Any idea what could be causing this?
The text was updated successfully, but these errors were encountered: