fix trigger presentation. Show source for 'Source:' field
authorEugene Petrenko <eugene.petrenko@gmail.com>
Wed, 20 Jul 2011 11:34:19 +0000 (15:34 +0400)
committerEugene Petrenko <eugene.petrenko@gmail.com>
Wed, 20 Jul 2011 11:34:19 +0000 (15:34 +0400)
nuget-server/src/jetbrains/buildServer/nuget/server/trigger/NuGetSimpleTrigger.java

index ad91bb80b2faf85af0c768527989af6436e4e71a..ae67244015a41cbaf9000bcc7631741b87a5a6a2 100644 (file)
@@ -46,7 +46,7 @@ public class NuGetSimpleTrigger extends BuildTriggerService {
     Map<String, String> props = trigger.getProperties();\r
     StringBuilder sb = new StringBuilder();\r
     sb.append("Package Id: ").append(props.get(TriggerConstants.PACKAGE)).append("\n");\r
-    sb.append("Source: ").append(props.get(TriggerConstants.PACKAGE));\r
+    sb.append("Source: ").append(props.get(TriggerConstants.SOURCE));\r
 \r
     String version = props.get(TriggerConstants.VERSION);\r
     if (!StringUtil.isEmptyOrSpaces(version)) {\r