Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
Use title (display name) in message
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-beck committed Nov 24, 2017
1 parent ca6e1c2 commit a92e54e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -127,7 +127,7 @@ public String execute(Map parameters, String body, RenderContext renderContext)
if (plugins.containsKey(pluginId)) {
JSONObject pluginJSON = (JSONObject) plugins.get(pluginId);

String name = getString(pluginJSON, "name");
String title = getString(pluginJSON, "title");

String version = getString(pluginJSON, "version");

Expand All @@ -142,7 +142,7 @@ public String execute(Map parameters, String body, RenderContext renderContext)
pluginWarnings.add(warning);
}
}
toBeRendered = new WikiWriter().append("|| View " + name + " [on the plugin site|https://plugins.jenkins.io/" + pluginId + "] for more information. ||\n");
toBeRendered = new WikiWriter().append("|| View " + title + " [on the plugin site|https://plugins.jenkins.io/" + pluginId + "] for more information. ||\n");

}

Expand Down

0 comments on commit a92e54e

Please sign in to comment.