Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Latest commit

 

History

History
18 lines (12 loc) · 616 Bytes

TESTING.md

File metadata and controls

18 lines (12 loc) · 616 Bytes

How to test

The plugin can be tested by using Docker containers.

Compile & make the plugin available via HTTP port 8011 on your local machine:

~ mvn -DskipTests clean package && \
podman run -p8011:80 -v$PWD/target/go-gchat-notifier-plugin.jar:/usr/share/nginx/html/go-gchat-notifier-plugin.jar nginx:1.19.9

Start up GoCD with TCP 8153 and let it download the plugin from the nginx above:

~ podman run -eGOCD_PLUGIN_INSTALL_a-plugin=http://$YOUR_IP:8011/go-gchat-notifier-plugin.jar -p8153:8153 gocd/gocd-server:v23.2.0

$YOUR_IP needs to be replaced with an IP of your host system.