@@ -0,0 +1,1037 @@
+package nu.studer.teamcity.buildscan;%0A%0Aimport java.io.IOException;%0Aimport java.net.URL;%0Aimport java.util.Arrays;%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0Apublic final class SlackInvocation %7B%0A%0A    public static void main(String%5B%5D args) throws IOException %7B%0A        if (args.length != 1) %7B%0A            throw new IllegalArgumentException(%22Webhook URL must be specified.%22);%0A        %7D%0A%0A        Map%3CString, String%3E params = new HashMap%3C%3E();%0A        params.put(%22teamcity.buildConfName%22, %22My Configuration%22);%0A        params.put(%22teamcity.serverUrl%22, %22http://ci.company.org%22);%0A        params.put(%22teamcity.build.id%22, %2223%22);%0A%0A        BuildScanReferences buildScanReferences = BuildScanReferences.of(Arrays.asList(%0A            new BuildScanReference(%22myId%22, %22http://www.myUrl.org/s/abcde%22),%0A            new BuildScanReference(%22myOtherId%22, %22http://www.myOtherUrl.org/efghi%22)));%0A%0A        SlackIntegration slackIntegration = SlackIntegration.forWebhook(new URL(args%5B0%5D));%0A        slackIntegration.notify(buildScanReferences, params);%0A    %7D%0A%0A%7D%0A

Add main method to easily verify the webhook invocation