Skip to content

Commit

Permalink
Plugin manager app bar forward compatibility (#1230)
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Faracik <43062514+janfaracik@users.noreply.github.com>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
  • Loading branch information
3 people authored Jul 5, 2023
1 parent 6855f2c commit 5bfe603
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
<properties>
<changelist>999999-SNAPSHOT</changelist>
<spotbugs.skip>true</spotbugs.skip>

<jenkins.version>2.412</jenkins.version>
<selenium.version>4.10.0</selenium.version>
<guava.version>32.0.0-jre</guava.version> <!-- aligned with selenium -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}
}

Expand Down

0 comments on commit 5bfe603

Please sign in to comment.