Skip to content

Commit 4f99492

Browse files
author
Thierry Lacour
committed
#15: Changed returned message when plugin version could not be retrieved
1 parent 134ceb6 commit 4f99492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jenkinsci/plugins/pretestedintegration/PretestedIntegrationBuildWrapper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public DescriptorImpl getDescriptor() {
106106
public String getVersion(){
107107
Plugin pretested = Jenkins.getInstance().getPlugin("pretested-integration");
108108
if (pretested != null) return pretested.getWrapper().getVersion();
109-
else return "plugin-not-found";
109+
else return "unable to retrieve plugin version";
110110
}
111111

112112
/**

0 commit comments

Comments
 (0)