Skip to content
Permalink
Browse files

Merge pull request #34 from christ66/JENKINS-28703

[JENKINS-28703] Add pinned status for plugins.
  • Loading branch information...
christ66 committed Jun 3, 2015
2 parents 0a69bdb + 3266b6b commit a8001e90328b14d7c7a9bdebe22a934c69400a1f
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 a8001e9

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