diff --git a/pom.xml b/pom.xml index a65206c..2af1c51 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.jenkins-ci.plugins plugin - 4.18 + 4.40 @@ -14,7 +14,7 @@ Audit Trail 3.11-SNAPSHOT - 2.263.1 + 2.340 8 1.7.30 @@ -80,6 +80,7 @@ org.jenkins-ci.plugins credentials + 1126.ve05618c41e62 @@ -116,32 +117,11 @@ io.jenkins.tools.bom - bom-2.263.x - 807.v6d348e44c987 + bom-2.332.x + 1246.va_b_50630c1d19 import pom - - - com.github.ben-manes.caffeine - caffeine - 2.9.1 - - - - org.checkerframework - checker-qual - - - com.google.errorprone - error_prone_annotations - - - diff --git a/src/test/java/hudson/plugins/audit_trail/AuditTrailFilterTest.java b/src/test/java/hudson/plugins/audit_trail/AuditTrailFilterTest.java index 6851e84..b95681f 100644 --- a/src/test/java/hudson/plugins/audit_trail/AuditTrailFilterTest.java +++ b/src/test/java/hudson/plugins/audit_trail/AuditTrailFilterTest.java @@ -67,12 +67,12 @@ public void createItemLogsTheNewItemName() throws Exception { form.getInputByName("name").blur(); // not clear to me why the input is not visible in the test (yet it exists in the page) // for some reason the two next calls are needed - form.getInputByValue("hudson.model.FreeStyleProject").click(false, false, false, true, true, false); + form.getInputByValue("hudson.model.FreeStyleProject").click(false, false, false, true, false, true, false); form.getInputByValue("hudson.model.FreeStyleProject").setChecked(true); + wc.waitForBackgroundJavaScript(50); j.submit(form); String log = Util.loadFile(new File(tmpDir.getRoot(), "create-item.log.0"), StandardCharsets.UTF_8); assertTrue("logged actions: " + log, Pattern.compile(".*createItem \\(" + jobName + "\\).*by \\QNA from 127.0.0.1\\E.*", Pattern.DOTALL).matcher(log).matches()); - } }