Update to show version usage
authorSateesh Kumar <sateeshkumarb@yahoo.com>
Sat, 7 Dec 2013 16:33:40 +0000 (22:03 +0530)
committerSateesh Kumar <sateeshkumarb@yahoo.com>
Sat, 7 Dec 2013 16:33:40 +0000 (22:03 +0530)
README.rst

index 097af361bcbca4d26c879d2a4a4f9d433ad9ac0f..bfc4a126ccf905943614e4989d95dd2ac0a82bf6 100644 (file)
@@ -89,6 +89,8 @@ JenkinsAPI is intended to map the objects in Jenkins (e.g. Builds, Views, Jobs)
        >>> import jenkinsapi
        >>> from jenkinsapi.jenkins import Jenkins
        >>> J = Jenkins('http://localhost:8080')
+       >>> J.get_version()
+       1.542
        >>> J.keys() # Jenkins objects appear to be dict-like, mapping keys (job-names) to
        ['foo', 'test_jenkinsapi']
        >>> J['test_jenkinsapi']