Add a comment to this example
authorsalimfadhley <sal@stodge.org>
Sat, 15 Jun 2013 23:10:58 +0000 (00:10 +0100)
committersalimfadhley <sal@stodge.org>
Sat, 15 Jun 2013 23:10:58 +0000 (00:10 +0100)
examples/get_config.py

index 37474df..7a10394 100644 (file)
@@ -1,6 +1,6 @@
-import logging
-logging.basicConfig()
-
+"""
+An example of how to use JenkinsAPI to fetch the config XML of a job.
+"""
 from jenkinsapi.jenkins import Jenkins
 J = Jenkins('http://localhost:8080')
 jobName = 'create_fwrgmkbbzk'