官网调用搞起
http://python-jenkins.readthedocs.io/en/latest/examples.html#example-1-get-version-of-jenkins
安装kerberos
当然 Ubuntu里面先要安装不然会报错
sudo apt-get install krb5-kdc krb5-admin-server
太复杂先忽略了
pip install kerberos 最简单,后边不用管了
https://pypi.python.org/pypi/kerberos 下载
tar -xzvf kerberos-1.2.5.tar.gz -C /usr/local/
cd /usr/local/kerberos-1.2.5/
python setup.py build