Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enable Jenkins Security Scan #422

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Use gradle cache

d19d848
Select commit
Loading
Failed to load commit list.
Open

Enable Jenkins Security Scan #422

Use gradle cache
d19d848
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Jenkins failed Aug 9, 2024 in 18s

Build: error in 'sh' step

Build / Shell Script

Error in sh step, with arguments ./gradlew clean javadoc check -x integrationTest --info.

script returned exit code 1
Build log
[2024-08-09T11:03:45.675Z] + ./gradlew clean javadoc check -x integrationTest --info
[2024-08-09T11:03:45.791Z] Downloading https://services.gradle.org/distributions/gradle-5.1.1-all.zip
[2024-08-09T11:03:47.703Z] ............................................................................................................................
[2024-08-09T11:03:50.211Z] Initialized native services in: /home/jenkins/.gradle/native
[2024-08-09T11:03:50.312Z] 
[2024-08-09T11:03:50.313Z] Welcome to Gradle 5.1.1!
[2024-08-09T11:03:50.313Z] 
[2024-08-09T11:03:50.313Z] Here are the highlights of this release:
[2024-08-09T11:03:50.314Z]  - Control which dependencies can be retrieved from which repositories
[2024-08-09T11:03:50.314Z]  - Production-ready configuration avoidance APIs
[2024-08-09T11:03:50.314Z] 
[2024-08-09T11:03:50.314Z] For more details see https://docs.gradle.org/5.1.1/release-notes.html
[2024-08-09T11:03:50.315Z] 
[2024-08-09T11:03:50.315Z] Removing 0 daemon stop events from registry
[2024-08-09T11:03:50.315Z] Starting a Gradle Daemon (subsequent builds will be faster)
[2024-08-09T11:03:50.416Z] Starting process 'Gradle build daemon'. Working directory: /home/jenkins/.gradle/daemon/5.1.1 Command: /opt/jdk-8/bin/java -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp /home/jenkins/.gradle/wrapper/dists/gradle-5.1.1-all/97z1ksx6lirer3kbvdnh7jtjg/gradle-5.1.1/lib/gradle-launcher-5.1.1.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 5.1.1
[2024-08-09T11:03:50.417Z] Successfully started process 'Gradle build daemon'
[2024-08-09T11:03:50.919Z] An attempt to start the daemon took 0.591 secs.
[2024-08-09T11:03:51.020Z] The client will now receive all logging from the daemon (pid: 193). The daemon log file: /home/jenkins/.gradle/daemon/5.1.1/daemon-193.out.log
[2024-08-09T11:03:51.020Z] Starting build in new daemon [memory: 477.6 MB]
[2024-08-09T11:03:51.021Z] Closing daemon's stdin at end of input.
[2024-08-09T11:03:51.021Z] The daemon will no longer process any standard input.
[2024-08-09T11:03:51.021Z] Using 4 worker leases.
[2024-08-09T11:03:51.323Z] Starting Build
[2024-08-09T11:03:51.624Z] Compiling settings file '/home/jenkins/agent/workspace/Plugins_mesos-plugin_PR-422/settings.gradle' using SubsetScriptTransformer.
[2024-08-09T11:03:51.625Z] Compiling settings file '/home/jenkins/agent/workspace/Plugins_mesos-plugin_PR-422/settings.gradle' using BuildScriptTransformer.
[2024-08-09T11:03:51.826Z] Settings evaluated using settings file '/home/jenkins/agent/workspace/Plugins_mesos-plugin_PR-422/settings.gradle'.
[2024-08-09T11:03:51.927Z] Projects loaded. Root project using build file '/home/jenkins/agent/workspace/Plugins_mesos-plugin_PR-422/build.gradle'.
[2024-08-09T11:03:51.928Z] Included projects: [root project 'mesos']
[2024-08-09T11:03:53.934Z] 
[2024-08-09T11:03:53.935Z] > Configure project :
[2024-08-09T11:03:53.935Z] Evaluating root project 'mesos' using build file '/home/jenkins/agent/workspace/Plugins_mesos-plugin_PR-422/build.gradle'.
[2024-08-09T11:03:53.935Z] Compiling build file '/home/jenkins/agent/workspace/Plugins_mesos-plugin_PR-422/build.gradle' using SubsetScriptTransformer.
[2024-08-09T11:03:53.935Z] Resource missing. [HTTP HEAD: https://plugins.gradle.org/m2/com/diffplug/gradle/spotless/com.diffplug.gradle.spotless.gradle.plugin/3.19.0/com.diffplug.gradle.spotless.gradle.plugin-3.19.0.jar]
[2024-08-09T11:03:53.935Z] Resource missing. [HTTP HEAD: https://plugins.gradle.org/m2/com/github/blueboxware/tocme/com.github.blueboxware.tocme.gradle.plugin/1.1/com.github.blueboxware.tocme.gradle.plugin-1.1.jar]
[2024-08-09T11:03:53.936Z] Resource missing. [HTTP HEAD: https://plugins.gradle.org/m2/com/github/spotbugs/com.github.spotbugs.gradle.plugin/1.7.1/com.github.spotbugs.gradle.plugin-1.7.1.jar]
[2024-08-09T11:03:53.936Z] Resource missing. [HTTP HEAD: https://plugins.gradle.org/m2/org/jenkins-ci/jpi/org.jenkins-ci.jpi.gradle.plugin/0.31.0/org.jenkins-ci.jpi.gradle.plugin-0.31.0.jar]
[2024-08-09T11:03:54.037Z] Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/org/jenkins-ci/version-number/1.0/version-number-1.0.pom]
[2024-08-09T11:03:54.037Z] Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/org/jvnet/localizer/maven-localizer-plugin/1.13/maven-localizer-plugin-1.13.pom]
[2024-08-09T11:03:54.940Z] 
[2024-08-09T11:03:54.940Z] FAILURE: Build failed with an exception.
[2024-08-09T11:03:54.940Z] 
[2024-08-09T11:03:54.941Z] * What went wrong:
[2024-08-09T11:03:54.941Z] A problem occurred configuring root project 'mesos'.
[2024-08-09T11:03:54.941Z] > Could not resolve all artifacts for configuration ':classpath'.
[2024-08-09T11:03:54.941Z]    > Could not find org.jvnet.localizer:maven-localizer-plugin:1.13.
[2024-08-09T11:03:54.941Z]      Searched in the following locations: https://plugins.gradle.org/m2/org/jvnet/localizer/maven-localizer-plugin/1.13/maven-localizer-plugin-1.13.pom
[2024-08-09T11:03:54.941Z]      Required by:
[2024-08-09T11:03:54.942Z]          project : > org.jenkins-ci.jpi:org.jenkins-ci.jpi.gradle.plugin:0.31.0 > org.jenkins-ci.tools:gradle-jpi-plugin:0.31.0
[2024-08-09T11:03:54.942Z]    > Could not find org.jenkins-ci:version-number:1.0.
[2024-08-09T11:03:54.942Z]      Searched in the following locations: https://plugins.gradle.org/m2/org/jenkins-ci/version-number/1.0/version-number-1.0.pom
[2024-08-09T11:03:54.942Z]      Required by:
[2024-08-09T11:03:54.942Z]          project : > org.jenkins-ci.jpi:org.jenkins-ci.jpi.gradle.plugin:0.31.0 > org.jenkins-ci.tools:gradle-jpi-plugin:0.31.0
[2024-08-09T11:03:54.942Z] 
[2024-08-09T11:03:54.943Z] * Try:
[2024-08-09T11:03:54.943Z] Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
[2024-08-09T11:03:54.943Z] 
[2024-08-09T11:03:54.943Z] * Get more help at https://help.gradle.org
[2024-08-09T11:03:54.943Z] 
[2024-08-09T11:03:54.943Z] BUILD FAILED in 9s

Details

  • Build (18 sec)
    Error: script returned exit code 1