I see: the exception occurs before I see h.m.UpdateCenter$CompleteBatchJob#run: in the console:
master63023|2020-03-11 23:54:08.038+0000 [id=75] INFO h.model.UpdateCenter$DownloadJob#run: Starting the installation of warnings-ng on behalf of anonymous
master63023|2020-03-11 23:54:08.039+0000 [id=75] INFO h.m.UpdateCenter$UpdateCenterConfiguration#download: Downloading warnings-ng
master63023|2020-03-11 23:54:08.954+0000 [id=75] INFO h.model.UpdateCenter$DownloadJob#run: Installation successful: warnings-ng
master63023|2020-03-11 23:54:08.954+0000 [id=75] INFO h.m.UpdateCenter$CompleteBatchJob#run: Completing installing of plugin batch…
master63023|2020-03-11 23:54:13.624+0000 [id=10] WARNING o.e.j.s.h.ContextHandler$Context#log: Error while serving
http://127.0.0.1:63023/newJob
master63023|java.lang.IllegalStateException: maybe need to rebuild plugin?
master63023| at org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.get(ScriptApproval.java:118)
master63023| at org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApprovalLink.getUrlName(ScriptApprovalLink.java:45)
master63023|2020-03-11 23:54:13.683+0000 [id=78] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
master63023|2020-03-11 23:54:13.748+0000 [id=85] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
master63023|2020-03-11 23:54:13.748+0000 [id=85] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
master63023|2020-03-11 23:54:13.785+0000 [id=81] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
master63023|2020-03-11 23:54:13.799+0000 [id=81] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
master63023|2020-03-11 23:54:13.800+0000 [id=84] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
master63023|2020-03-11 23:54:13.816+0000 [id=79] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
master63023|2020-03-11 23:54:14.075+0000 [id=75] INFO h.m.UpdateCenter$CompleteBatchJob#run: Completed installation of 27 plugins in 9.6 sec
Since I am doing nothing special in my test case, is this is a bug in ATH? Or is there something I should do here on my own? I would expect that my tests should only start if everything is correctly initialized...
My test breaks in the first line:
@Test
public void shouldAggregateToolsIntoSingleResult() {
FreeStyleJob job = createFreeStyleJob("build_status_test/build_01");