python-jenkins/tests/jobs
Kevin L. Mitchell 244b4fed30 Allow setting the next build number
We can discover the next build number Jenkins will use for a particular
job using get_job_info(), but there's currently no way through
python-jenkins to set the next build number.  This change introduces
the set_next_build_number() method which, given a job name and a
desired number, sets the next build number of the named job to the
given number.

Limitations: Jenkins enforces that build numbers must be monotonically
increasing, but gives no indication of an error; it simply ignores the
offending value.

Change-Id: I23b5a84b7ea37d66bf778a89343e3c81ffa9ceb6
2015-09-24 10:06:05 -05:00
..
__init__.py Separate tests in separate files and classes 2015-08-25 01:11:47 +01:00
base.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_assert.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_build.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_config.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_copy.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_count.py Separate tests in separate files and classes 2015-08-25 01:11:47 +01:00
test_create.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_debug.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_delete.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_disable.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_enable.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_get.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_getall.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_info.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_name.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_reconfig.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_rename.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_set_next_build_number.py Allow setting the next build number 2015-09-24 10:06:05 -05:00