2022: Automatic Correction of Programming Exercises With Artemis and Gitlab Ci

Seminar's theses

Student
Benjamin Sebastian Schmitz

Supervisor(s)Advisor(s)

Abstract

Artemis is a Learning Management System (LMS) that facilitates program- ming exercises using a Version Control System (VCS) and a Continuous Integration System (CIS). Since some VCSs include a Continuous Integration (CI) application, it is possible to reduce the effort required to maintain the servers and migrate the CIS from external applications to the integrated system. In the existing implementation, programming exercises rely on a configuration stored in the CIS as part of build plans. These configurations are duplicated for every student participation, making it hard to update the configuration throughout the exercise lifecycle. GitLab CI is the CIS provided by the GitLab VCS. This system supports provisioning build plans via the Artemis Application Programming Interface (API), which makes it possible to update the build plan retrospectively, as the build plan is fetched from the API on each run. In this thesis, we show how Artemis can be extended to support an VCS with an in-built CIS. We analyze the underlying problem, formalize the requirements, and model the adapted system design. We implement the changes as part of the open-source Artemis system. We generalize the existing Jenkins Server Notification Plugin for usage with different CISs to notify Artemis. Artemis is now capable of conducting Java programming exercises with a single dependency on GitLab.

Head of Research Group



Prof. Dr. Stephan Krusche

Administrative office


Sophia Adelmeier
adelmeie@cit.tum.de

Office: 01.07.052
Phone: +49 (89) 289-18206
Fax: +49 (89) 289-18207 Boltzmannstraße 3
85748 Garching b. München