Started by upstream project "Trigger" build number 196 originally caused by: Started by timer Obtained Jenkinsfile from git https://github.com/snoopycrimecop/omero-insight.git [Pipeline] Start of Pipeline [Pipeline] node Running on testintegration in /home/omero/workspace/OMERO-insight-build [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git No credentials specified Cloning the remote Git repository Cloning repository https://github.com/snoopycrimecop/omero-insight.git > git init /home/omero/workspace/OMERO-insight-build # timeout=10 Fetching upstream changes from https://github.com/snoopycrimecop/omero-insight.git > git --version # timeout=10 > git --version # 'git version 2.39.3' > git fetch --tags --force --progress -- https://github.com/snoopycrimecop/omero-insight.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b8d145a19eda5664f185c38fae7048d0c60e1b82 (origin/merge_ci) Commit message: "Update component versions" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh + gradle --init-script init-ci.gradle publishToMavenLocal build --refresh-dependencies > git config remote.origin.url https://github.com/snoopycrimecop/omero-insight.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/merge_ci^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b8d145a19eda5664f185c38fae7048d0c60e1b82 # timeout=10 > git rev-list --no-walk 1505714df036053d2199f58b36510f29a8e52904 # timeout=10 To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.9.3/userguide/gradle_daemon.html#sec:disabling_the_daemon. Daemon will be stopped at the end of the build > Task :buildSrc:compileJava NO-SOURCE > Task :buildSrc:compileGroovy WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/opt/gradle-6.9.3/lib/groovy-all-1.3-2.5.12.jar) to method java.util.AbstractCollection.hugeCapacity(int) WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release > Task :buildSrc:pluginDescriptors > Task :buildSrc:processResources > Task :buildSrc:classes > Task :buildSrc:jar > Task :buildSrc:assemble > Task :buildSrc:pluginUnderTestMetadata > Task :buildSrc:compileTestJava NO-SOURCE > Task :buildSrc:compileTestGroovy NO-SOURCE > Task :buildSrc:processTestResources NO-SOURCE > Task :buildSrc:testClasses UP-TO-DATE > Task :buildSrc:test NO-SOURCE > Task :buildSrc:validatePlugins > Task :buildSrc:check > Task :buildSrc:build FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':imageJJar'. > Could not resolve all dependencies for configuration ':runtimeClasspath'. > Could not resolve org.openmicroscopy:omero-gateway:5.9.4-SNAPSHOT. Required by: project : > No matching variant of org.openmicroscopy:omero-gateway:5.9.4-SNAPSHOT:20240905.003238-3 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally but: - Variant 'apiElements' capability org.openmicroscopy:omero-gateway:5.9.4-SNAPSHOT declares a library, packaged as a jar, and its dependencies declared externally: - Incompatible because this component declares an API of a component compatible with Java 11 and the consumer needed a runtime of a component compatible with Java 8 - Variant 'runtimeElements' capability org.openmicroscopy:omero-gateway:5.9.4-SNAPSHOT declares a runtime of a library, packaged as a jar, and its dependencies declared externally: - Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.9.3/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 18s [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy) Stage "Deploy" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] deleteDir [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE