need to see if project exists before creating
check before delete if project exists
add job existence check
- template must exist
- new job must not already exist
This has been here for quite a while, and I was sort of expecting you to fix the build errors before considering merging it, which hasn't happened.
Are you still interested in getting this merged? Can you fix tests please?