Class StatusJsonAction

  • All Implemented Interfaces:
    WebHookAction

    public class StatusJsonAction
    extends Object
    Author:
    Robin Müller
    • Constructor Detail

      • StatusJsonAction

        public StatusJsonAction​(Job<?,​?> project,
                                String sha1)
    • Method Detail

      • writeStatusBody

        protected void writeStatusBody​(org.kohsuke.stapler.StaplerResponse response,
                                       Run<?,​?> build,
                                       com.gitee.jenkins.webhook.status.BuildStatusAction.BuildStatus status)
      • execute

        public void execute​(org.kohsuke.stapler.StaplerResponse response)
        Specified by:
        execute in interface WebHookAction