Process build jobs

- rename build to current_job
- add build job dictionary
- process build jobs and add to job dictionary
add test for process_build_jobs