api stubs and cleanup
Jenkins API notes