# outbound-webhook-plugin **Repository Path**: midaug/outbound-webhook-plugin ## Basic Information - **Project Name**: outbound-webhook-plugin - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-16 - **Last Updated**: 2021-11-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Jenkins WebHook plugin Outbound WebHook for Jenkins build events ## Configuration Configure your Jenkins URL in `Jenkins > Configuration` section: ![](config1.png) Add `Outbound Webhook notification` to `Post-build Actions`: ![](config2.png) ## Sample payload ```json { "buildName": "#16", "buildUrl": "http://my-jenkins-url.com/job/test%20job/16/", "event": "success", "projectName": "test job" } ``` `event` has three possible values: `start`, `success`, `failure`. ## Compile ```bash ./gradlew build # or within a docker image: ./gradlew-docker build ``` ## Test ```bash ./gradlew test # or within a docker image: ./gradlew-docker test ``` ## Run server ```bash ./gradlew server # or within a docker image, port 8080 is forwarded to the docker host: ./gradlew-docker server ``` Visit http://localhost:8080 The first time you visit it, you are required to go through the setup process. Please **don't install** any third-party plugins. This plugin we currently working on will be installed by default. ## Admin user I use the following credential for testing: `admin/admin` Of course you don't have to copy my example. ## publish Create a tag on GitHub: `outbound-webhook-plugin-`. Create file `~/.jenkins-ci.org` with the following content: ``` userName=username password=password ``` Note: The credentials are from https://accounts.jenkins.io/. Run: ```bash ./gradlew clean publish # or within a docker image: ./gradlew-docker clean publish ```