Skip to content

Commit

Permalink
Require Jenkins 2.121.3 (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiX authored Feb 2, 2020
1 parent a3462b1 commit 0415651
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>3.48</version>
<version>3.56</version>
<relativePath />
</parent>

Expand Down Expand Up @@ -43,7 +43,7 @@
<properties>
<revision>0.6</revision>
<changelist>-SNAPSHOT</changelist>
<jenkins.version>2.60.3</jenkins.version>
<jenkins.version>2.121.3</jenkins.version>
<configuration-as-code.version>1.27</configuration-as-code.version>
<java.level>8</java.level>
</properties>
Expand Down Expand Up @@ -97,7 +97,7 @@
<plugin>
<groupId>com.coveo</groupId>
<artifactId>fmt-maven-plugin</artifactId>
<version>2.8</version>
<version>2.9</version>
<executions>
<!-- Fail build if code is not properly formatted -->
<execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ public FaviconUrlThemeElement(String url) {

@Override
public void collectHeaderFragment(Set<String> fragments, boolean injectCss) {
fragments.add(
MessageFormat.format(SCRIPT_INCLUDE, Jenkins.getInstance().getRootUrlFromRequest()));
fragments.add(MessageFormat.format(SCRIPT_INCLUDE, Jenkins.get().getRootUrlFromRequest()));
fragments.add(MessageFormat.format(FAVICON_SCRIPT, getUrl()));
}

Expand Down

0 comments on commit 0415651

Please sign in to comment.