diff --git a/pom.xml b/pom.xml index 90b1e128e0..9293f67cc4 100644 --- a/pom.xml +++ b/pom.xml @@ -30,7 +30,6 @@ 999999-SNAPSHOT true - 2.412 4.10.0 32.0.0-jre diff --git a/src/main/java/org/jenkinsci/test/acceptance/po/PluginManager.java b/src/main/java/org/jenkinsci/test/acceptance/po/PluginManager.java index 8d827008fd..0119cf2d98 100644 --- a/src/main/java/org/jenkinsci/test/acceptance/po/PluginManager.java +++ b/src/main/java/org/jenkinsci/test/acceptance/po/PluginManager.java @@ -244,7 +244,13 @@ public boolean installPlugins(final PluginSpec... specs) throws UnableToResolveD for (PluginSpec n : update) { tickPluginToInstall(n); } - clickButton("Download now and install after restart"); + + // Temporary until https://github.com/jenkinsci/jenkins/pull/8025 is in LTS + if (find(by.button("Download now and install after restart")) != null) { + clickButton("Download now and install after restart"); + } else { + clickButton("Update"); + } } }