Refactor: add a ci/common.sh
add a build node cleanup script
scaffold for jenkins builds