Skip to content

Commit

Permalink
revert PropertyScope #2
Browse files Browse the repository at this point in the history
  • Loading branch information
sawanoboly committed Feb 8, 2015
1 parent f8def16 commit 3e28a77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apply plugin: 'java'
sourceCompatibility = 1.6
project.version = 0.2
project.version = 0.3
defaultTasks 'clean', 'build'

configurations{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@
@PluginDescription(title="Slack Incoming WebHook", description="Sends Rundeck Notifications to Slack")
public class SlackNotificationPlugin implements NotificationPlugin {

// private static final String SLACK_API_BASE = ".slack.com/";
// private static final String SLACK_API_URL_SCHEMA = "https://";
// private static final String SLACK_API_WEHOOK_PATH = "services/hooks/incoming-webhook";
// private static final String SLACK_API_TOKEN = "?token=%s";

private static final String SLACK_MESSAGE_COLOR_GREEN = "good";
private static final String SLACK_MESSAGE_COLOR_YELLOW = "warning";
private static final String SLACK_MESSAGE_COLOR_RED = "danger";
Expand All @@ -71,8 +66,8 @@ public class SlackNotificationPlugin implements NotificationPlugin {
@PluginProperty(
title = "WebHook URL",
description = "Slack Incoming WebHook URL",
required = true,
scope = PropertyScope.Project
required = true
// scope = PropertyScope.Project
)
private String webhook_url;

Expand Down

0 comments on commit 3e28a77

Please sign in to comment.