Skip to content

Commit

Permalink
[JENKINS-28703] Add pinned status for plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
christ66 committed Jun 2, 2015
1 parent 5edc573 commit 766dce9
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -655,7 +655,7 @@ protected void printTo(PrintWriter out) throws IOException {
Collections.sort(plugins);
for (PluginWrapper w : plugins) {
if (w.isActive()) {
out.println(w.getShortName() + ":" + w.getVersion());
out.println(w.getShortName() + ":" + w.getVersion() + (w.isPinned() ? "pinned" : "not-pinned"));
}
}
}
Expand All @@ -673,7 +673,7 @@ protected void printTo(PrintWriter out) throws IOException {
Collections.sort(plugins);
for (PluginWrapper w : plugins) {
if (!w.isActive()) {
out.println(w.getShortName() + ":" + w.getVersion());
out.println(w.getShortName() + ":" + w.getVersion() + (w.isPinned() ? "pinned" : "not-pinned"));
}
}
}
Expand Down

0 comments on commit 766dce9

Please sign in to comment.