diff --git a/pom.xml b/pom.xml index 92ab5d3c..62f62e7e 100644 --- a/pom.xml +++ b/pom.xml @@ -28,8 +28,8 @@ 1.49 999999-SNAPSHOT jenkinsci/${project.artifactId}-plugin - 2.426 - ${jenkins.baseline}.3 + 2.452 + ${jenkins.baseline}.4 true Max Low @@ -164,7 +164,7 @@ io.jenkins.tools.bom bom-${jenkins.baseline}.x - 3208.vb_21177d4b_cd9 + 3790.va_b_a_2d26d2b_69 import pom diff --git a/src/test/java/hudson/plugins/copyartifact/testutils/CopyArtifactJenkinsRule.java b/src/test/java/hudson/plugins/copyartifact/testutils/CopyArtifactJenkinsRule.java index df95d9a7..e1c9fc36 100644 --- a/src/test/java/hudson/plugins/copyartifact/testutils/CopyArtifactJenkinsRule.java +++ b/src/test/java/hudson/plugins/copyartifact/testutils/CopyArtifactJenkinsRule.java @@ -96,7 +96,7 @@ public void printContentIfNecessary(WebResponse webResponse) { * @return the new workflow job * @throws IOException an error when creating a new job */ - public WorkflowJob createWorkflow(String name, String script) throws IOException { + public WorkflowJob createWorkflow(String name, String script) throws Exception { WorkflowJob job = jenkins.createProject(WorkflowJob.class, name); job.setDefinition(new CpsFlowDefinition("node {" + script + "}", true)); return job;