Merge "Fixed a minor typo in example of Python-jenkins"

This commit is contained in:
Jenkins 2016-07-14 16:30:37 +00:00 committed by Gerrit Code Review
commit d149d0aed0

@ -20,7 +20,7 @@ retrieve the Jenkins server version.
server = jenkins.Jenkins('http://localhost:8080', username='myuser', password='mypassword') server = jenkins.Jenkins('http://localhost:8080', username='myuser', password='mypassword')
user = server.get_whoami() user = server.get_whoami()
version = server.get_version() 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 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 the Jenkins master running on 'localhost:8080'. For example, it may print