diff --git a/pom.xml b/pom.xml index fc0c7f1d9a..26995d905d 100644 --- a/pom.xml +++ b/pom.xml @@ -47,7 +47,7 @@ 8 - 2.263.1 + 2.303.3 false true @@ -256,8 +256,8 @@ io.jenkins.tools.bom - bom-2.263.x - 984.vb5eaac999a7e + bom-2.303.x + 1036.v9f5a1aba8fab import pom diff --git a/src/test/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/KubernetesDeclarativeAgentTest.java b/src/test/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/KubernetesDeclarativeAgentTest.java index cbb3843c8c..d32ac34398 100644 --- a/src/test/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/KubernetesDeclarativeAgentTest.java +++ b/src/test/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/KubernetesDeclarativeAgentTest.java @@ -167,7 +167,7 @@ public void declarativeWithNestedExplicitInheritance() throws Exception { @Test public void declarativeWithNonexistentDockerImage() throws Exception { assertNotNull(createJobThenScheduleRun()); - r.assertBuildStatus(Result.FAILURE, r.waitForCompletion(b)); + r.assertBuildStatus(Result.ABORTED, r.waitForCompletion(b)); r.assertLogContains("ERROR: Unable to pull Docker image", b); } diff --git a/src/test/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/KubernetesPipelineTest.java b/src/test/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/KubernetesPipelineTest.java index d8db2a7187..ee7ec6ef27 100644 --- a/src/test/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/KubernetesPipelineTest.java +++ b/src/test/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/KubernetesPipelineTest.java @@ -682,9 +682,9 @@ public void dynamicPVC() throws Exception { @Test public void invalidPodGetsCancelled() throws Exception { - r.assertBuildStatus(Result.FAILURE, r.waitForCompletion(b)); + r.assertBuildStatus(Result.ABORTED, r.waitForCompletion(b)); r.assertLogContains("ERROR: Unable to create pod", b); - r.assertLogContains("ERROR: Queue task was cancelled", b); + r.assertLogContains("Queue task was cancelled", b); } @Issue("SECURITY-1646")