rundeck-plugins/slack-incoming-webhook-plugin


A Rundeck Plugin for Slack Incoming-WebHook

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.rundeck-plugins:slack-incoming-webhook-plugin:v1.3.4'
	}
	dependencies {
		implementation("com.github.rundeck-plugins:slack-incoming-webhook-plugin:v1.3.4")
	}
	<dependency>
	    <groupId>com.github.rundeck-plugins</groupId>
	    <artifactId>slack-incoming-webhook-plugin</artifactId>
	    <version>v1.3.4</version>
	</dependency>

                            
    libraryDependencies += "com.github.rundeck-plugins" % "slack-incoming-webhook-plugin" % "v1.3.4"
        
        

                            
    :dependencies [[com.github.rundeck-plugins/slack-incoming-webhook-plugin "v1.3.4"]]
        
        

Readme


rundeck-slack-incoming-webhook-plugin

Sends rundeck notification messages to a slack channel. This plugin is based on rundeck-slack-plugin(based on run-hipchat-plugin).

Installation Instructions

See the Included Plugins | Rundeck Documentation for more information on installing rundeck plugins.

Download jarfile

  1. Download jarfile from releases.
  2. copy jarfile to $RDECK_BASE/libext

Build

  1. build the source by gradle.
  2. copy jarfile to $RDECK_BASE/libext

Configuration

This plugin uses Slack incoming-webhooks. Create a new webhook and copy the provided url.

configuration

The only required configuration settings are:

  • WebHook URL: Slack incoming-webhook URL.

Slack message example.

On success.

on success

On failure.

on failure

Contributors

How to

Build

Build the project with Gradle

./gradlew build

Test

Test the project with Gradle

./gradlew check

Release

Release the project.

./gradlew release

Version

Get current version from axion-release plugin

./gradlew currentVersion