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"]]
Sends rundeck notification messages to a slack channel. This plugin is based on rundeck-slack-plugin(based on run-hipchat-plugin).
See the Included Plugins | Rundeck Documentation for more information on installing rundeck plugins.
$RDECK_BASE/libext
$RDECK_BASE/libext
This plugin uses Slack incoming-webhooks. Create a new webhook and copy the provided url.
The only required configuration settings are:
WebHook URL
: Slack incoming-webhook URL.On success.
On failure.
Build the project with Gradle
./gradlew build
Test the project with Gradle
./gradlew check
Release the project.
./gradlew release
Get current version from axion-release plugin
./gradlew currentVersion