Skip to content

Add the ability to ignore push events from certain users

ff8eb45
Select commit
Loading
Failed to load commit list.
Open

Add the ability to ignore push events from certain users #448

Add the ability to ignore push events from certain users
ff8eb45
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Jenkins failed Nov 29, 2025 in 3m 37s

windows-17/Build (windows-17): error in 'junit' step

linux-21 / Build (linux-21) / Shell Script

Error in sh step, with arguments mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=/home/jenkins/agent/workspace/Plugins_github-plugin_PR-448@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Penable-jacoco -Dset.changelist clean install.

script returned exit code 1
Build log
[2025-11-29T18:16:54.828Z] + mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=/home/jenkins/agent/workspace/Plugins_github-plugin_PR-448@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Penable-jacoco -Dset.changelist clean install
[2025-11-29T18:16:54.930Z] -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=187499968 -XX:MarkStackSize=4194304 -XX:MaxHeapSize=2999999488 -XX:MinHeapSize=6815736 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:-THPStackMitigation -XX:+UseCompressedOops -XX:+UseG1GC 
[2025-11-29T18:16:55.031Z] Apache Maven 3.9.11 (3e54c93a704957b63ee3494413a2b544fd3d825b)
[2025-11-29T18:16:55.032Z] Maven home: /usr/share/apache-maven-3.9.11
[2025-11-29T18:16:55.032Z] Java version: 21.0.9, vendor: Eclipse Adoptium, runtime: /opt/jdk-21
[2025-11-29T18:16:55.032Z] Default locale: en_US, platform encoding: UTF-8
[2025-11-29T18:16:55.033Z] OS name: "linux", version: "6.1.158-178.288.amzn2023.x86_64", arch: "amd64", family: "unix"
[2025-11-29T18:16:57.139Z] [INFO] Error stacktraces are turned on.
[2025-11-29T18:16:57.441Z] [INFO] Setting: -Dchangelist=-rc877.ff8eb_45684f1 -DscmTag=ff8eb45684f12e9af681ce8a20fb30a46921a680 -Dproject.build.outputTimestamp=2025-11-29T18:13:33Z
[2025-11-29T18:16:57.442Z] [INFO] Setting: -DgitHubRepo=negasora/github-plugin
[2025-11-29T18:16:57.442Z] [INFO] Scanning for projects...
[2025-11-29T18:16:59.448Z] [INFO] 
[2025-11-29T18:16:59.449Z] [INFO] --------------< com.coravy.hudson.plugins.github:github >---------------
[2025-11-29T18:16:59.449Z] [INFO] Building GitHub plugin 1.45.1-rc877.ff8eb_45684f1
[2025-11-29T18:16:59.449Z] [INFO]   from pom.xml
[2025-11-29T18:16:59.449Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2025-11-29T18:17:03.063Z] [INFO] 
[2025-11-29T18:17:03.064Z] [INFO] --- clean:3.5.0:clean (default-clean) @ github ---
[2025-11-29T18:17:03.064Z] [INFO] 
[2025-11-29T18:17:03.064Z] [INFO] --- hpi:3.1762.vd3ff902a_5b_c4:validate (default-validate) @ github ---
[2025-11-29T18:17:03.064Z] [INFO] Created marker file /home/jenkins/agent/workspace/Plugins_github-plugin_PR-448/target/java-level/17
[2025-11-29T18:17:03.064Z] [INFO] 
[2025-11-29T18:17:03.064Z] [INFO] --- hpi:3.1762.vd3ff902a_5b_c4:validate-hpi (default-validate-hpi) @ github ---
[2025-11-29T18:17:03.967Z] [INFO] 
[2025-11-29T18:17:03.968Z] [INFO] --- enforcer:3.6.2:enforce (display-info) @ github ---
[2025-11-29T18:17:04.069Z] [INFO] Rule 0: io.jenkins.tools.incrementals.enforcer.RequireExtensionVersion passed
[2025-11-29T18:17:04.069Z] [INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[2025-11-29T18:17:04.069Z] [INFO] Rule 2: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[2025-11-29T18:17:04.070Z] [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed
[2025-11-29T18:17:04.672Z] [INFO] Rule 4: org.codehaus.mojo.extraenforcer.dependencies.EnforceBytecodeVersion passed
[2025-11-29T18:17:04.773Z] [INFO] Rule 5: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[2025-11-29T18:17:04.773Z] [INFO] Rule 6: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[2025-11-29T18:17:04.774Z] [INFO] Ignoring requireUpperBoundDeps in org.ow2.asm:asm
[2025-11-29T18:17:04.774Z] [INFO] Rule 7: org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps passed
[2025-11-29T18:17:04.774Z] [INFO] 
[2025-11-29T18:17:04.774Z] [INFO] --- enforcer:3.6.2:enforce (no-snapshots-in-release) @ github ---
[2025-11-29T18:17:04.775Z] [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps passed
[2025-11-29T18:17:04.775Z] [INFO] 
[2025-11-29T18:17:04.775Z] [INFO] --- checkstyle:3.6.0:check (checkstyle) @ github ---
[2025-11-29T18:17:07.684Z] [INFO] You have 0 Checkstyle violations.
[2025-11-29T18:17:07.684Z] [INFO] 
[2025-11-29T18:17:07.684Z] [INFO] --- jacoco:0.8.14:prepare-agent (default) @ github ---
[2025-11-29T18:17:07.785Z] [INFO] argLine set to -javaagent:/home/jenkins/agent/workspace/Plugins_github-plugin_PR-448@tmp/m2repo/org/jacoco/org.jacoco.agent/0.8.14/org.jacoco.agent-0.8.14-runtime.jar=destfile=/home/jenkins/agent/workspace/Plugins_github-plugin_PR-448/target/jacoco.exec,excludes=**/Messages.class:org/htmlunit/** -Xms768M -Xmx768M -XX:+HeapDumpOnOutOfMemoryError -XX:+TieredCompilation -XX:TieredStopAtLevel=1 @{jenkins.addOpens} @{jenkins.insaneHook} @{jenkins.javaAgent}
[2025-11-29T18:17:07.786Z] [INFO] 
[2025-11-29T18:17:07.786Z] [INFO] --- localizer:1.31:generate (default) @ github ---
[2025-11-29T18:17:08.088Z] [INFO] 
[2025-11-29T18:17:08.088Z] [INFO] --- enforcer:3.6.2:enforce (check-junit-imports) @ github ---
[2025-11-29T18:17:08.289Z] [INFO] ------------------------------------------------------------------------
[2025-11-29T18:17:08.289Z] [INFO] BUILD FAILURE
[2025-11-29T18:17:08.290Z] [INFO] ------------------------------------------------------------------------
[2025-11-29T18:17:08.290Z] [INFO] Total time:  11.184 s
[2025-11-29T18:17:08.290Z] [INFO] Finished at: 2025-11-29T18:17:08Z
[2025-11-29T18:17:08.290Z] [INFO] ------------------------------------------------------------------------
[2025-11-29T18:17:08.290Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.6.2:enforce (check-junit-imports) on project github: 
[2025-11-29T18:17:08.291Z] [ERROR] Rule 0: org.apache.maven.plugins.enforcer.RestrictImports failed with message:
[2025-11-29T18:17:08.291Z] [ERROR] 
[2025-11-29T18:17:08.291Z] [ERROR] Banned imports detected in TEST code:
[2025-11-29T18:17:08.291Z] [ERROR] 
[2025-11-29T18:17:08.291Z] [ERROR] Reason: Use JUnit 5 (org.junit.jupiter.*)
[2025-11-29T18:17:08.292Z] [ERROR] 	in file:///home/jenkins/agent/workspace/Plugins_github-plugin_PR-448/src/test/java/com/cloudbees/jenkins/GitHubPushTriggerTest.java
[2025-11-29T18:17:08.292Z] [ERROR] 		static org.junit.Assert.assertFalse 	(Line: 29, Matched by: org.junit.**)
[2025-11-29T18:17:08.292Z] [ERROR] 		static org.junit.Assert.assertTrue  	(Line: 30, Matched by: org.junit.**)
[2025-11-29T18:17:08.292Z] [ERROR] 
[2025-11-29T18:17:08.292Z] [ERROR] Analysis of 131 files took less than 1 second
[2025-11-29T18:17:08.292Z] [ERROR] -> [Help 1]
[2025-11-29T18:17:08.293Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.6.2:enforce (check-junit-imports) on project github: 
[2025-11-29T18:17:08.293Z] Rule 0: org.apache.maven.plugins.enforcer.RestrictImports failed with message:
[2025-11-29T18:17:08.293Z] 
[2025-11-29T18:17:08.293Z] Banned imports detected in TEST code:
[2025-11-29T18:17:08.293Z] 
[2025-11-29T18:17:08.294Z] Reason: Use JUnit 5 (org.junit.jupiter.*)
[2025-11-29T18:17:08.294Z] 	in file:///home/jenkins/agent/workspace/Plugins_github-plugin_PR-448/src/test/java/com/cloudbees/jenkins/GitHubPushTriggerTest.java
[2025-11-29T18:17:08.294Z] 		static org.junit.Assert.assertFalse 	(Line: 29, Matched by: org.junit.**)
[2025-11-29T18:17:08.294Z] 		static org.junit.Assert.assertTrue  	(Line: 30, Matched by: org.junit.**)
[2025-11-29T18:17:08.294Z] 
[2025-11-29T18:17:08.294Z] Analysis of 131 files took less than 1 second
[2025-11-29T18:17:08.295Z] 
[2025-11-29T18:17:08.295Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
[2025-11-29T18:17:08.295Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2025-11-29T18:17:08.295Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2025-11-29T18:17:08.295Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2025-11-29T18:17:08.296Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2025-11-29T18:17:08.296Z]     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2025-11-29T18:17:08.296Z]     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2025-11-29T18:17:08.296Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2025-11-29T18:17:08.296Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2025-11-29T18:17:08.296Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2025-11-29T18:17:08.297Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2025-11-29T18:17:08.297Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2025-11-29T18:17:08.297Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2025-11-29T18:17:08.297Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2025-11-29T18:17:08.297Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2025-11-29T18:17:08.297Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
[2025-11-29T18:17:08.297Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
[2025-11-29T18:17:08.297Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
[2025-11-29T18:17:08.298Z]     at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
[2025-11-29T18:17:08.298Z]     at java.lang.reflect.Method.invoke (Method.java:580)
[2025-11-29T18:17:08.298Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2025-11-29T18:17:08.298Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2025-11-29T18:17:08.298Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2025-11-29T18:17:08.298Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2025-11-29T18:17:08.298Z] Caused by: org.apache.maven.plugin.MojoExecutionException: 
[2025-11-29T18:17:08.298Z] Rule 0: org.apache.maven.plugins.enforcer.RestrictImports failed with message:
[2025-11-29T18:17:08.298Z] 
[2025-11-29T18:17:08.298Z] Banned imports detected in TEST code:
[2025-11-29T18:17:08.298Z] 
[2025-11-29T18:17:08.299Z] Reason: Use JUnit 5 (org.junit.jupiter.*)
[2025-11-29T18:17:08.299Z] 	in file:///home/jenkins/agent/workspace/Plugins_github-plugin_PR-448/src/test/java/com/cloudbees/jenkins/GitHubPushTriggerTest.java
[2025-11-29T18:17:08.299Z] 		static org.junit.Assert.assertFalse 	(Line: 29, Matched by: org.junit.**)
[2025-11-29T18:17:08.299Z] 		static org.junit.Assert.assertTrue  	(Line: 30, Matched by: org.junit.**)
[2025-11-29T18:17:08.299Z] 
[2025-11-29T18:17:08.299Z] Analysis of 131 files took less than 1 second
[2025-11-29T18:17:08.299Z] 
[2025-11-29T18:17:08.299Z]     at org.apache.maven.plugins.enforcer.EnforceMojo.execute (EnforceMojo.java:272)
[2025-11-29T18:17:08.299Z]     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
[2025-11-29T18:17:08.300Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
[2025-11-29T18:17:08.300Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2025-11-29T18:17:08.300Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2025-11-29T18:17:08.300Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2025-11-29T18:17:08.300Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2025-11-29T18:17:08.301Z]     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2025-11-29T18:17:08.301Z]     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2025-11-29T18:17:08.301Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2025-11-29T18:17:08.301Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2025-11-29T18:17:08.301Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2025-11-29T18:17:08.301Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2025-11-29T18:17:08.301Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2025-11-29T18:17:08.301Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2025-11-29T18:17:08.301Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2025-11-29T18:17:08.301Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2025-11-29T18:17:08.301Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
[2025-11-29T18:17:08.302Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
[2025-11-29T18:17:08.302Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
[2025-11-29T18:17:08.302Z]     at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
[2025-11-29T18:17:08.302Z]     at java.lang.reflect.Method.invoke (Method.java:580)
[2025-11-29T18:17:08.302Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2025-11-29T18:17:08.302Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2025-11-29T18:17:08.302Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2025-11-29T18:17:08.302Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2025-11-29T18:17:08.302Z] [ERROR] 
[2025-11-29T18:17:08.303Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2025-11-29T18:17:08.303Z] [ERROR] 
[2025-11-29T18:17:08.303Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2025-11-29T18:17:08.303Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

linux-21 / Build (linux-21) / Archive JUnit-formatted test results

Error in junit step.

No test report files were found. Configuration error?
Build log
[2025-11-29T18:17:09.871Z] Recording test results
[2025-11-29T18:17:10.043Z] No test report files were found. Configuration error?

windows-17 / Build (windows-17) / Windows Batch Script

Error in bat step, with arguments mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=Z:/agent/workspace/Plugins_github-plugin_PR-448@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=Z:/agent/workspace/Plugins_github-plugin_PR-448@tmp/changelist clean install.

Failed in branch linux-21
Build log
[2025-11-29T18:16:59.363Z] 
[2025-11-29T18:16:59.363Z] jenkins@EC2AMAZ-TC2MKQ7 Z:\agent\workspace\Plugins_github-plugin_PR-448>mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=Z:/agent/workspace/Plugins_github-plugin_PR-448@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=Z:/agent/workspace/Plugins_github-plugin_PR-448@tmp/changelist clean install 
[2025-11-29T18:17:02.521Z] -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=262136192 -XX:MarkStackSize=4194304 -XX:MaxHeapSize=4194179072 -XX:MinHeapSize=6815736 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC -XX:-UseLargePagesIndividualAllocation 
[2025-11-29T18:17:10.371Z] Sending interrupt signal to process
[2025-11-29T18:17:13.803Z] Apache Maven 3.9.11 (3e54c93a704957b63ee3494413a2b544fd3d825b)
[2025-11-29T18:17:13.804Z] Maven home: C:\tools\apache-maven-3.9.11
[2025-11-29T18:17:13.804Z] Java version: 17.0.17, vendor: Eclipse Adoptium, runtime: C:\tools\jdk-17
[2025-11-29T18:17:13.805Z] Default locale: en_US, platform encoding: Cp1252
[2025-11-29T18:17:13.805Z] OS name: "windows server 2019", version: "10.0", arch: "amd64", family: "windows"
[2025-11-29T18:17:30.371Z] After 20s process did not stop

windows-17 / Build (windows-17) / Archive JUnit-formatted test results

Error in junit step.

No test report files were found. Configuration error?
Build log
[2025-11-29T18:17:30.610Z] Recording test results
[2025-11-29T18:17:30.852Z] No test report files were found. Configuration error?

Details

  • linux-21 (6 ms)
    • Checkout (linux-21) (10 sec)
    • Build (linux-21) (16 sec)
      Error: script returned exit code 1 - logs
      Error: No test report files were found. Configuration error? - logs
  • windows-17 (3 min 37 sec)
    • Checkout (windows-17) (22 sec)
    • Build (windows-17) (33 sec)
      Error: Failed in branch linux-21 - logs
      Error: No test report files were found. Configuration error? - logs