jenkinsをpythonから動かす

pip install python-jenkins
import jenkins
j = jenkins.Jenkins('http://host/jenkins')
print j.get_jobs()
print j.build_job(jobname)

Welcome to Python Jenkins’s documentation! — Python Jenkins v0.2 documentation

Welcome to AutoJenkins’s documentation! — AutoJenkins 0.4.3 documentation

このエントリーをはてなブックマークに追加
Share on Facebook

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>