Permalink
Commits on Jul 26, 2017
  1. Bump version to 1.1.1

    txels committed Jul 26, 2017
  2. Merge pull request #31 from romank0/support-for-branch-api-plugin

    txels committed Jul 26, 2017
    Allows listing organizational folders
  3. Allows listing organizational folders.

    romank0 committed Jul 26, 2017
    Organizational folders are provided by [Branch API
    Plugin](https://wiki.jenkins.io/display/JENKINS/Branch+API+Plugin).
    They do not have not have status and color is not returned for them.
    This commit changes list all jobs function so it skips them by default.
    Additional option allows to include them.
Commits on Jun 1, 2016
Commits on Dec 11, 2015
  1. Merge pull request #28 from shinjin/master

    txels committed Dec 11, 2015
    Add support for build parameters
  2. Return explicit unicode response

    Rick Shin
    Rick Shin committed Dec 11, 2015
  3. Add support for build parameters

    Rick Shin
    Rick Shin committed Dec 11, 2015
Commits on Nov 21, 2015
  1. Merge pull request #27 from jaraco/python3

    txels committed Nov 21, 2015
    Python 3
Commits on Nov 12, 2015
  1. Update fixtures to supply Python 3 compatible syntax. Testing against…

    jaraco committed Nov 12, 2015
    … Jenkins 1.635, this is the syntax it provides.
Commits on Aug 15, 2015
  1. Merge pull request #25 from nkoester/get_console_output

    txels committed Aug 15, 2015
    add function to get console output for a build
Commits on Jul 22, 2015
  1. Remove print message.

    nkoester committed Jul 22, 2015
    I think a logger would be better here, anyhow the error code is returned
    as an Exception. No print needed.
Commits on Jul 21, 2015
Commits on Mar 20, 2015
  1. Merge pull request #24 from bravegnu/force-bug-fix

    txels committed Mar 20, 2015
    Create new job if job does not exists.
Commits on Feb 12, 2015
  1. Use side_effect_job_exists instead of hardcoding return value.

    bravegnu committed Feb 12, 2015
    In test_create_copy_forced_new_job test case, the return value of the
    job_exists() function is hardcoded as True. Instead, use the
    side_effect_job_exists() function, which provides the correct return
    value, for each job.
  2. Added additional test cases for forced copy.

    bravegnu committed Feb 12, 2015
    Added test cases to erify that during a forced copy, if the job
    exists, then it should be updated. And if the job does not exist, then
    it should be created.
Commits on Jan 9, 2015
  1. Create new job if job does not exists.

    bravegnu committed Jan 9, 2015
    In create_copy(), a new job is created, if _force is set to
    False. Instead, a new job should be created if the job does not exist.
Commits on Oct 12, 2014
  1. Merge pull request #23 from bravegnu/master

    txels committed Oct 12, 2014
    Add support to update jobs, if they exist.
  2. Use the argument name _force instead of update.

    bravegnu committed Oct 12, 2014
    In create_copy(), use the argument name _force, instead of update, to
    avoid collision with other template variable names. Also added a unit
    test case to cover this scenario.
Commits on Oct 9, 2014
  1. Add support to update jobs, if they exist.

    bravegnu committed Oct 9, 2014
    Added an optional argument to create_copy(), to indicate whether to
    update the job if it already exists.
Commits on Oct 7, 2014
  1. Add release script

    txels committed Oct 7, 2014
  2. Bump version to 0.9.1

    txels committed Oct 7, 2014
  3. Merge pull request #22 from bravegnu/master

    txels committed Oct 7, 2014
    Fix incorrect error message in copy_job.
Commits on Oct 6, 2014
  1. Fix incorrect error message in copy_job.

    bravegnu committed Oct 6, 2014
    In copy_job when the template does not exist, the error message
    incorrectly uses the name of the job to be created instead of the name
    of the template job.
Commits on Jun 3, 2014
  1. Merge pull request #17 from chaosblog/docopt

    txels committed Jun 3, 2014
    Docopt
Commits on Oct 8, 2013
  1. Merge pull request #19 from dgholz/master

    txels committed Oct 8, 2013
    add 'notbuilt' to list of job colors
  2. add 'notbuilt' to list of job colors

    dgholz committed Oct 8, 2013
    Getting this error when listing an upbuilt job:
    
    Traceback (most recent call last):
    File "C:\Teamcity\BuildAgent2\work\3676ab95343f4f4e\env\Scripts\ajk-list-script.py", line 9, in <module>
    load_entry_point('autojenkins==0.9.0', 'console_scripts', 'ajk-list')()
    File "C:\Teamcity\BuildAgent2\work\3676ab95343f4f4e\env\lib\site-packages\autojenkins\run.py", line 200, in list
    list_jobs(host, options, not options.color, options.raw)
    File "C:\Teamcity\BuildAgent2\work\3676ab95343f4f4e\env\lib\site-packages\autojenkins\run.py", line 130, in list_jobs
    out = COLOR_MEANING[color][position]
    KeyError: 'notbuilt'
    [14:09:03][Step 1/1] Process exited with code 1
Commits on Mar 4, 2013
  1. Remove create_opts_parser

    chaosblog committed Mar 4, 2013
    remove unused optparse
Commits on Feb 22, 2013
  1. test fix

    chaosblog committed Feb 22, 2013