Package CIserver.app

Class BuildThread

java.lang.Object
java.lang.Thread
CIserver.app.BuildThread
All Implemented Interfaces:
Runnable

public class BuildThread extends Thread
BuildThread class that allows building of git repo to run after webhook receives response
  • Constructor Details

    • BuildThread

      public BuildThread(String requestBody)
      Creates a runnable object that parses the requestBody, downloads the repo from the parsed commit SHA. After downloading it compiles the project and run unit tests.
      Parameters:
      requestBody - JSON data with information of the git commit, repository name, repository owner
  • Method Details