Skip to content

Commit

Permalink
build with docker
Browse files Browse the repository at this point in the history
  • Loading branch information
sawanoboly committed Sep 5, 2018
1 parent a9b8272 commit 0b64da1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM openjdk:8

WORKDIR /home/rundeck-slack-incoming-webhook-plugin
CMD ["bash", "./gradlew"]
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ See the [Included Plugins | Rundeck Documentation](http://rundeck.org/docs/plugi
1. build the source by gradle.
2. copy jarfile to `$RDECK_BASE/libext`

### build with docker.

```
$ docker build -t rundeck-slack-incoming-webhook-plugin:latest .
$ docker run --rm -v `pwd`:/home/rundeck-slack-incoming-webhook-plugin rundeck-slack-incoming-webhook-plugin:latest
```

it creates `./build/libs/rundeck-slack-incoming-webhook-plugin-0.?.jar`

## Configuration
This plugin uses Slack incoming-webhooks. Create a new webhook and copy the provided url.
Expand All @@ -44,4 +52,4 @@ On failure.
* @totallyunknown
* @notandy
* @lusis
* @sawanoboly
* @sawanoboly
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.6
project.version = 0.7
defaultTasks 'clean', 'build'

configurations{
Expand Down

0 comments on commit 0b64da1

Please sign in to comment.