Add simulated parking capacity and Jenkins CI #9

Open
opened 2026-10-08 15:23:51 +00:00 by jjradzz · 0 comments
Owner

Goal

Add a small, reusable SmartPark component for simulated parking availability and use it to establish a real Jenkins build-and-test pipeline.

Work

  • Track a parking lot’s total and available spaces.
  • Decrease availability when a vehicle enters and increase it when one leaves.
  • Reject invalid starting counts, arrivals when full, and departures when empty.
  • Add automated tests for normal activity and boundary cases.
  • Compile and test the code through a versioned Jenkinsfile.
  • Connect Gitea pull requests to Jenkins and require the Jenkins check before merging.

Done when

A pull request shows a Jenkins result on its latest commit. A deliberately failing test blocks merging; a corrective commit passes, receives peer review, and can be merged. Record the matching commits, runs, and results for the team’s IT manual.

This uses simulated data. It does not claim live campus parking information or a deployed SmartPark application.

**Goal** Add a small, reusable SmartPark component for simulated parking availability and use it to establish a real Jenkins build-and-test pipeline. **Work** - Track a parking lot’s total and available spaces. - Decrease availability when a vehicle enters and increase it when one leaves. - Reject invalid starting counts, arrivals when full, and departures when empty. - Add automated tests for normal activity and boundary cases. - Compile and test the code through a versioned `Jenkinsfile`. - Connect Gitea pull requests to Jenkins and require the Jenkins check before merging. **Done when** A pull request shows a Jenkins result on its latest commit. A deliberately failing test blocks merging; a corrective commit passes, receives peer review, and can be merged. Record the matching commits, runs, and results for the team’s IT manual. This uses simulated data. It does not claim live campus parking information or a deployed SmartPark application.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stevens-smartpark/smartpark-app#9