Added jenkins-api to dependencies.