Package com.group8


package com.group8
Core CI server implementation for DD2480 Assignment 2.

This package contains the main classes for a minimal continuous integration server that:

  • P1 – Compilation: Receives GitHub webhook push events and compiles the target project using Maven.
  • P2 – Testing: Runs the project's automated tests (mvn test).
  • P3 – Notification: Reports build results as GitHub commit statuses via the REST API.
  • P7 – Build history: Persists build records to disk and exposes them via HTTP endpoints for browsing past builds.

The main entry point is ContinuousIntegrationServer, which runs a Jetty server listening for webhooks on POST /webhook.

  • Class
    Description
    Manages the persistence and retrieval of build history
    build record representing the result of a single CI build
    Core CI pipeline runner.
    ContinuousIntegrationServer acts as a simple webhook endpoint.
    Simple wrapper interface for HttpClient to enable testing.
    Production implementation using Java's HttpClient.
    Simple entry point kept only to avoid IntelliJ warnings.
    Client for interacting with the GitHub Commit Status API (P3).