From bcfb0878e07a598aa4335b70d739c997a8f9d3d2 Mon Sep 17 00:00:00 2001 From: Salim Fadhley Date: Wed, 11 Jan 2012 14:01:27 +0000 Subject: [PATCH] Doc building to zips now working. --- .settings/org.eclipse.core.resources.prefs | 3 + doc/build.xml | 12 +++- doc/source/.gitignore | 4 ++ doc/source/index.rst | 65 ++++++++++++++++------ jenkinsapi_tests/__init__.py | 0 setup.py | 2 +- 6 files changed, 67 insertions(+), 19 deletions(-) create mode 100644 .settings/org.eclipse.core.resources.prefs create mode 100644 doc/source/.gitignore create mode 100644 jenkinsapi_tests/__init__.py diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..107568d --- /dev/null +++ b/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,3 @@ +#Mon Jan 09 16:45:21 GMT 2012 +eclipse.preferences.version=1 +encoding//doc/source/conf.py=utf-8 diff --git a/doc/build.xml b/doc/build.xml index 6d6cf68..704e17d 100644 --- a/doc/build.xml +++ b/doc/build.xml @@ -5,7 +5,17 @@ - + + + + + + + + + + + diff --git a/doc/source/.gitignore b/doc/source/.gitignore new file mode 100644 index 0000000..f1afd02 --- /dev/null +++ b/doc/source/.gitignore @@ -0,0 +1,4 @@ +/jenkinsapi.utils.rst +/jenkinsapi.command_line.rst +/jenkinsapi.rst +/modules.rst diff --git a/doc/source/index.rst b/doc/source/index.rst index 5352289..6de0b26 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -1,20 +1,51 @@ -.. JenkinsAPI documentation master file, created by - sphinx-quickstart on Mon Jan 09 16:35:17 2012. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - -Welcome to the JenkinsAPI project documentation -=============================================== - -Contents: - -.. toctree:: - :maxdepth: 2 - - api - artifact - build - urlopener +JenkinsAPI +========== + +Jenkins is the market leading continuous integration system, originally created by Kohsuke Kawaguchi. This API makes Jenkins even easier to use by providing an easy to use conventional python interface. + +Jenkins (and It's predecessor Hudson) are fantastic projects - but they are somewhat Java-centric. Thankfully the designers have provided an excellent and complete REST interface. This library wraps up that interface as more conventional python objects in order to make most Jenkins oriented tasks simpler. + +This library can help you: + + * Query the test-results of a completed build + * Get a objects representing the latest builds of a job + * Search for artifacts by simple criteria + * Block until jobs are complete + * Install artifacts to custom-specified directory structures + * Username/password auth support for jenkins instances with auth turned on + * Search for builds by subversion revision + * Add, remove and query jenkins slaves + +Installation +============ + +Egg-files for this project are hosted on PyPi. Most Python users should be able to use pip or distribute to automatically install this project. + +Most users can do the following: + + easy_install jenkinsapi + +If you'd like to install in multi-version mode: + + easy_install -m jenkinsapi + +Project Authors +=============== + + * Salim Fadhley (sal@stodge.org) + * Ramon van Alteren (ramon@vanalteren.nl) + * Ruslan Lutsenko (ruslan.lutcenko@gmail.com) + +Current code lives on github: https://github.com/salimfadhley/jenkinsapi + +Package Contents +================ + +.. toctree:: + jenkinsapi + jenkinsapi.command_line + jenkinsapi.utils + modules Indices and tables ================== diff --git a/jenkinsapi_tests/__init__.py b/jenkinsapi_tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py index 6fccfce..c5f22b0 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup(name=PROJECT_NAME.lower(), version=VERSION, author=PROJECT_AUTHORS, author_email=PROJECT_EMAILS, - packages=find_packages('.'), + packages=["jenkinsapi",], # Disabled use fo find-packages to exclude examples & tests zip_safe=True, include_package_data = False, entry_points = GLOBAL_ENTRY_POINTS, -- 2.34.1