Package CIserver.rest

Class BuildController

java.lang.Object
CIserver.rest.BuildController

@Controller public class BuildController extends Object
Controller class for serving web content
  • Constructor Details

    • BuildController

      public BuildController()
  • Method Details

    • builds

      @GetMapping("/builds") public String builds(org.springframework.ui.Model model)
      Lists all builds
      Parameters:
      model - model is implicitly sent through GET to server the web content
      Returns:
      web content displaying all builds with relevant information
    • showCommitBuild

      @GetMapping("/builds/{commit}") public String showCommitBuild(@PathVariable String commit, org.springframework.ui.Model model)
      Lists build information of specific build
      Parameters:
      commit - the commit SHA of the build to be displayed
      model - model is implicitly sent through GET to server the web content
      Returns:
      web content displaying the build information of the commit