Package org.kohsuke

Class HookApp

java.lang.Object
org.kohsuke.HookApp

public class HookApp extends Object
App to test the hook script. You need some internet-facing server that can forward the request to you (typically via SSH reverse port forwarding.)
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • HookApp

      public HookApp()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      The main method.
      Parameters:
      args - the arguments
      Throws:
      Exception - the exception
    • doIndex

      public void doIndex(org.kohsuke.stapler.StaplerRequest req) throws IOException
      Do index.
      Parameters:
      req - the req
      Throws:
      IOException - Signals that an I/O exception has occurred.