project-anacapa / course-github-org-tool

PLEASE USE: https://github.com/project-anacapa/github-roster-tool instead!
https://github.com/project-anacapa/github-roster-tool
MIT License
1 stars 4 forks source link

(Student) Automatic Grading #17

Closed ncbrown1 closed 7 years ago

ncbrown1 commented 7 years ago

As a student, I can push my code to a GitHub repository in the course organization and have it automatically trigger a grading procedure, which generates a grade for me on the spot so that I can quickly see how I am doing on the assignment.

ncbrown1 commented 7 years ago

Note: this can be accomplished by adding an organization-level webhook that is triggered on PUSH events. Anacapa will receive the webhook and check the repository name to see if it corresponds to any existing and valid assignment in the same organization.

Idea: If a valid assignment repo exists with the proper anacapa settings, but the Jenkins jobs don't exist, trigger those first and then trigger the grading job.

ncbrown1 commented 7 years ago

Idea: Have an 2 persistent queues:

1) for grading jobs

Note: Heroku Redis is a free add-on

ncbrown1 commented 7 years ago

queuing is unnecessary when using the Jenkins Notifications Plugin