Fixed a minor typo in example of Python-jenkins

Change-Id: Id99b7bc1f68f98da23c7b62227cbf673915cd991
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2016-07-04 18:10:30 +05:30
parent 4d495afe74
commit fc0600c035
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ retrieve the Jenkins server version.
server = jenkins.Jenkins('http://localhost:8080', username='myuser', password='mypassword')
user = server.get_whoami()
version = server.get_version()
print('Hello %s from Jenkins %s' % (user['fullName'], jenkins_version))
print('Hello %s from Jenkins %s' % (user['fullName'], version))
The above code prints the the fullName attribute of the user and the version of
the Jenkins master running on 'localhost:8080'. For example, it may print