Skip to content
Permalink
Browse files

[JENKINS-28703] Add pinned status for plugins.

  • Loading branch information...
christ66 committed Jun 2, 2015
1 parent 5edc573 commit 766dce94fbc6de4afa8215ed631328d48546c1f0
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/com/cloudbees/jenkins/support/impl/AboutJenkins.java
@@ -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"));
}
}
}
@@ -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"));
}
}
}

0 comments on commit 766dce9

Please sign in to comment.
You can’t perform that action at this time.