{
"info": {
"author": "Yusuke Tsutsumi",
"author_email": "yusuke@yusuketsutsumi.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Topic :: System :: Software Distribution"
],
"description": "=====\njenks\n=====\n\nJenks is a command-line tool, designed to interact with a remote jenkins host, including:\n\nStart by either filling out a configuration file, or adding a job with::\n\n $ jenks config -a http://localhost:8080/job/bar/\n\nAfter that, you can get status information with:\n\n $ jenks\n 0: localhost, foo (last build #7) SUCCESS\n 1: localhost, bar (last build #3) SUCCESS\n\nJenks works with unique keys assigned to each job, rather than job\nnames. You can see it in the above example: it's the 0 and 1 at the\nbeginning of the line.\n\nYou can trigger the job foo from above with::\n\n $ jenks trigger :0\n\nGet the latest build information from the job bar with::\n\n $ jenks build :1\n\nGet information about multiple jobs simultaneously by adding multiple keys::\n\n $ jenks -l :10\n\nAnd you can pull up more information with::\n\n $ jenks docs\n\nInstallation\n============\n\n* since jenkinsapi (the main dependency) is only python2\n compatible, jenks is currently only python2 compatible.\n\nThere's a few ways to install Jenks.\n\nThrough pip::\n\n pip install jenks\n pip install http://github.com/toumorokoshi/jenks/tarball/master\n\nThrough `sprinter `_::\n\n sprinter install https://raw.github.com/toumorokoshi/jenks/master/sprinter.cfg\n\n\nConfiguration (.jenksrc)\n========================\n\nJenks requires a .jenksrc file to configure itself. Jenks searches in\nthe current directory and moves up parent directories until it finds one.\n\nA .jenksrc file should be a yaml file, with a dictionary of hosts and\nsome keys for configuration.\n\nHere is an example .jenksrc file with all options::\n\n 'localhost':\n url: 'http://localhost:8080/'\n jobs:\n - foo\n - bar\n 'http://jenkins.local':\n jobs:\n - baz\n\nthe in-depth configuration for a host is:\n\n* url: the url to the host. If the url doesn't exist, the host name is used as the url\n* jobs: a list of job names to add to the list\n\nKeys\n====\n\nBy default, Jenks will perform operations on all jobs in the\nconfiguration. However, you can restrict the jobs to specific ones by\npassing a list of keys. Each job is given a unique key generated by\njenks. For example, using -l on the example configuration will yield::\n\n $ jenks -l\n 0 http://jenkins.local baz\n 1 localhost foo\n 2 localhost bar\n\nThe character at the beginning of each line is the key. Each key is a\nsingle character in the set: [0-9a-zA-Z]. You can pass in a string of\ncharacters prefixed with a colon to get information about those::\n\n $ jenks -l :20\n 0 http://jenkins.local baz\n 2 localhost bar\n\nYou can pass in keys as:\n\n* an argument::\n\n $ jenks -c :0\n\n* with standard in::\n\n $ echo '0' | jenks\n\nJob Codes\n=========\n\nYou can also reference jobs from the jenksrc by name, using the job\ncode syntax. The job code syntax looks like::\n\n /\n localhost/bar\n\nFor example, here's how to get information about the latest build of a job by job code::\n\n $ jenks build localhost/bar\n\nExamples\n========\n\nOnes of Jenks' goals is to follow the Unix philosophy of doing one\nthing and doing it well. By being a modular part and supporting stdin,\nit's possible to chain Jenks with other commands.\n\nFor example, here's a command that only lists status of jobs whose host or job name match a specific regex::\n\n $ jenks -l | grep \"foo\" | cut -d ' ' -f 1 | jenks\n 0: localhost, foo (last build #7) SUCCESS\n\nMonitor the status of your Jenkins jobs::\n\n $ watch jenks",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://toumorokoshi.github.io/jenks",
"keywords": null,
"license": "UNKNOWN",
"maintainer": null,
"maintainer_email": null,
"name": "jenks",
"package_url": "https://pypi.org/project/jenks/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/jenks/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "http://toumorokoshi.github.io/jenks"
},
"release_url": "https://pypi.org/project/jenks/0.2.3/",
"requires_dist": null,
"requires_python": null,
"summary": "a jenkins command-line tool",
"version": "0.2.3"
},
"last_serial": 1048624,
"releases": {
"0.1": [
{
"comment_text": "",
"digests": {
"md5": "7c997d9ffeacd486570031c20e65188d",
"sha256": "0c41c12ec0ff2aa4b91945894e0af75ade40840caefda81b616899dc1e38aab3"
},
"downloads": -1,
"filename": "jenks-0.1.tar.gz",
"has_sig": false,
"md5_digest": "7c997d9ffeacd486570031c20e65188d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2456,
"upload_time": "2014-02-20T09:07:53",
"url": "https://files.pythonhosted.org/packages/75/2d/d22b50c536a3214967a716ba3af304d4bedaf5db725f9678bea52dd0f43d/jenks-0.1.tar.gz"
}
],
"0.2": [
{
"comment_text": "",
"digests": {
"md5": "bf96b06e7dd2b1ca953d55fd0ea479af",
"sha256": "97e52de0ff2b109909c7047a2a72abadd22e4be73dc6d089f61c61a27f837771"
},
"downloads": -1,
"filename": "jenks-0.2.tar.gz",
"has_sig": false,
"md5_digest": "bf96b06e7dd2b1ca953d55fd0ea479af",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4402,
"upload_time": "2014-02-22T09:48:59",
"url": "https://files.pythonhosted.org/packages/8e/82/a96ae19ee7debeafaca52396c24e26bfd56a340020f979e1793e51f2d311/jenks-0.2.tar.gz"
}
],
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "21516a956eb5f7a7734f92df4a44144c",
"sha256": "7e04533d548f007b88535807d171b48e5b31583d0da7e76d79345094babbdb09"
},
"downloads": -1,
"filename": "jenks-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "21516a956eb5f7a7734f92df4a44144c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5069,
"upload_time": "2014-02-22T20:02:41",
"url": "https://files.pythonhosted.org/packages/18/cc/ed2814b75bbcc4ce6c6977d0d586ede94526ed82d3ad938e704262496c58/jenks-0.2.1.tar.gz"
}
],
"0.2.2": [
{
"comment_text": "",
"digests": {
"md5": "da6e394cbb40836e27ad115cd4e81c4d",
"sha256": "9ad8863f2e68d9b6d6481c1e8b97cae055b827d458b99644495bdb9d5295538e"
},
"downloads": -1,
"filename": "jenks-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "da6e394cbb40836e27ad115cd4e81c4d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5197,
"upload_time": "2014-02-24T21:19:00",
"url": "https://files.pythonhosted.org/packages/f0/16/73059f1844ad0411dcbd04be197848869afeb7de3fae59824069391b2dc7/jenks-0.2.2.tar.gz"
}
],
"0.2.3": [
{
"comment_text": "",
"digests": {
"md5": "52b4e0e19a6c73d56ed7f460488fd7c2",
"sha256": "3ceb61a36a55602778ca930013c804df0299bb9ee28c11adb294a580fba4f3ff"
},
"downloads": -1,
"filename": "jenks-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "52b4e0e19a6c73d56ed7f460488fd7c2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12413,
"upload_time": "2014-04-02T06:47:57",
"url": "https://files.pythonhosted.org/packages/b5/46/68583ab68cd7a0cf0c00c19b744de30dcbeb0ecaa6ef01d55f702d5d23d9/jenks-0.2.3.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "52b4e0e19a6c73d56ed7f460488fd7c2",
"sha256": "3ceb61a36a55602778ca930013c804df0299bb9ee28c11adb294a580fba4f3ff"
},
"downloads": -1,
"filename": "jenks-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "52b4e0e19a6c73d56ed7f460488fd7c2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12413,
"upload_time": "2014-04-02T06:47:57",
"url": "https://files.pythonhosted.org/packages/b5/46/68583ab68cd7a0cf0c00c19b744de30dcbeb0ecaa6ef01d55f702d5d23d9/jenks-0.2.3.tar.gz"
}
]
}