Attempting to get the code to the most recent state in order to overcome build failure.
Struggling with getting rid of the "Unable to inject class hudson.model.UserIdMapper".
Updated the parent pom
Updated the bom to the required jenkins base version
Rewrote the FortifyJCasCCompatibilityTest test
Replaced javax.annotation-s with the findbugs ones
The tests are still failing:
[ERROR] com.fortify.plugin.jenkins.FortifyJCasCCompatibilityTest.assertConfiguredAsExpected -- Time elapsed: 12.30 s <<< ERROR!
org.jvnet.hudson.reactor.ReactorException: java.lang.IllegalArgumentException: Unable to inject class hudson.model.UserIdMapper
at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:291)
at jenkins.InitReactorRunner.run(InitReactorRunner.java:49)
at jenkins.model.Jenkins.executeReactor(Jenkins.java:1196)
at jenkins.model.Jenkins.<init>(Jenkins.java:986)
at hudson.model.Hudson.<init>(Hudson.java:86)
at org.jvnet.hudson.test.JenkinsRule.newHudson(JenkinsRule.java:697)
at org.jvnet.hudson.test.JenkinsRule.before(JenkinsRule.java:406)
at io.jenkins.plugins.casc.misc.JenkinsConfiguredWithCodeRule.before(JenkinsConfiguredWithCodeRule.java:23)
at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:601)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.IllegalArgumentException: Unable to inject class hudson.model.UserIdMapper
at hudson.init.TaskMethodFinder.lookUp(TaskMethodFinder.java:130)
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110)
at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:185)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:1161)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:222)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:121)
at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:70)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
... 1 more
Attempting to get the code to the most recent state in order to overcome build failure. Struggling with getting rid of the "Unable to inject class hudson.model.UserIdMapper".
The tests are still failing: