Skip to content

Commit

Permalink
Merge PR jenkinsci#101 Set test connection message color
Browse files Browse the repository at this point in the history
correctly.

Conflicts Resolved:
  src/main/java/jenkins/plugins/slack/SlackNotifier.java
  • Loading branch information
samrocketman committed May 31, 2015
2 parents e1892ec + e95b66d commit 5ac4c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/jenkins/plugins/slack/SlackNotifier.java
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ public FormValidation doTestConnection(@QueryParameter("slackTeamDomain") final
}
SlackService testSlackService = getSlackService(targetDomain, targetToken, targetRoom);
String message = "Slack/Jenkins plugin: you're all set on " + targetBuildServerUrl;
boolean success = testSlackService.publish(message, "green");
boolean success = testSlackService.publish(message, "good");
return success ? FormValidation.ok("Success") : FormValidation.error("Failure");
} catch (Exception e) {
return FormValidation.error("Client error : " + e.getMessage());
Expand Down

0 comments on commit 5ac4c40

Please sign in to comment.