diff --git a/rest-api/pom.xml b/rest-api/pom.xml
index 4ad3087c..24813c83 100644
--- a/rest-api/pom.xml
+++ b/rest-api/pom.xml
@@ -50,7 +50,7 @@
org.jenkins-ci.plugins.workflow
workflow-api
- 2.24
+ 2.42
org.jenkins-ci.plugins
diff --git a/ui/pom.xml b/ui/pom.xml
index d472303c..30f99bc0 100644
--- a/ui/pom.xml
+++ b/ui/pom.xml
@@ -59,7 +59,7 @@
org.jenkins-ci.plugins.workflow
workflow-api
- 2.24
+ 2.42
org.jenkins-ci.plugins.workflow