Commit Graph

17 Commits

Author SHA1 Message Date
Marcin Cieślak 34254af2b0 Switch links for contributors to opendev.org or launchpad
Also change the mailing list address

Change-Id: I264010f2125831b1699b9d343a4de118bb7db972
Closes-Bug: #1872942
2020-08-01 09:27:53 +02:00
Sorin Sbarnea e5e7a097b1
Adopt use of pre-commit hooks
- rename pep8 target to more generic linters
- migrates flake8 execution to pre-commit
- adds yaml linting
- hardening flake8 rules
- setting max-line-lengh to 120 instead of ignoring it.
- bumped minimal sphinx version
- configured sphinx with warnings as errors

Change-Id: I4c598c07297ae6a2160ba6754cec860adbfeb6f2
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
2018-06-22 13:37:30 +01:00
Ken Dreyer e4ad9dc086 README: mention #openstack-jjb channel
We use this channel to discuss both python-jenkins and
jenkins-job-builder.

Point python-jenkins users at this channel.

Change-Id: If6f1a62a820557275fac467330e7c5b84990408d
2018-05-21 09:57:07 -06:00
melissaml 5f5d54b897 Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: I65b8ae7c71601542bf17230d380e518a23034f23
2018-04-21 08:40:51 +08:00
Teemu Patja 08f76f724d Adds support for wiping out a job's workspace
Support for wiping out a Jenkins job's workspace.

Change-Id: I8daa4a6fe7976c90ca59c89bda775d83aff7b622
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
2018-04-15 16:23:04 +01:00
Teemu Patja 03ed39ba01 Adds support for deleting builds
Support for deleting individual builds for a Jenkins job.

Change-Id: I35c98855b0883986a85cbe7212ec52e6f67e5638
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
2018-04-13 18:23:47 +01:00
venkatamahesh 46a2f0a039 Change repositories from stackforge to openstack
Change-Id: I6ee5446f2e99da14edadf43491a970c7d91f788f
2015-11-03 06:39:27 +05:30
Khai Do 0167b7f8f9 Support ability to install plugins
Add the ability to install the latest version of a Jenkins plugin.
Thanks to Fatih Degirmenci for providing the groovy script[1]

[1] http://pastebin.com/9qWeVYSP

Change-Id: I67a0b02710a9f5007a6529d87222e5777e744337
2015-09-28 10:21:21 -07:00
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
Jerome Hourquebie 7267eec454 Adds Cloudbees folder plugin support
This patch adds cloudbees folder plugin support. Folder should be
specified in job name : <folder>/<job>

This update also extend job_builder
(http://ci.openstack.org/jenkins-job-builder/) tool without any
modification.

Change-Id: I6d3957c217e1253e53152d90d5fcce5e69c77674
Co-Authored-By: Darragh Bailey <daragh.bailey@gmail.com>
2015-09-21 18:25:35 +01:00
Clark Boylan f80e54b4bc Add function to get running builds
It can be useful to get a list of running builds from jenkins. This is
particularly useful when you need to take an action on a specific built
or if you need to know when the jenkins master has finished running all
builds (say after quieting down). Add a function to return this list.

Change-Id: I5c7dac8076250f94cd2b358c5b153d9410f53aee
2015-09-15 15:54:20 -07:00
Clark Boylan 338294b3f4 Add support for quiet down
This adds a Jenkins.quiet_down() method which can be used to quiet down
the server. Unit tests included.

Change-Id: I4e229aae6ad766bc6194a643fcd514e5538d6fa7
2015-09-14 13:10:54 -07:00
Brandon Leonard cabb95d873 Creates ability to work with views in jenkins
This patch allows users to create, delete, reconfigure, and list views in
Jenkins. It is very similar to the protocols for working with jobs and has the
same code structure and format.

Change-Id: I79c557520cc9a417399a1a18df0f57da6904ab0e
2015-07-06 12:14:26 +02:00
Khai Do 2eb0ac822c Doc Update: Fix formatting for inclusion of README.rst
The contents of README.rst are included directly into the documentation
index file, as a result we need to alter the formatting to align with
the existing contents.

Change-Id: I631b664f1eba8838f39b2315ec3b70a87b5d06de
2015-02-13 00:24:10 +00:00
Khai Do 3ce7471b0a Update and clean up docs
* Reference the readme.rst in index.rst to remove redundancy
* General cleanup and updates

Change-Id: I33c9c12b94282ce3a0b3366715a3797e6c3b019c
2015-01-27 20:03:13 +00:00
Khai Do 3e4f1221ca Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Change-Id: I19117bd682f2f53d94a6a3ad9b2ff90ddd3e06ba
2014-12-08 13:32:31 +01:00
Khai Do f996c77c15 Add a readme and make it appear on pypi.python.org
The python-jenkins page (https://pypi.python.org/pypi/python-jenkins)
is pretty bare.  This change attempts add info to that page.

Change-Id: I90cc12ba337e2e7e52b4ce0f25204c75faff0f22
2014-11-03 12:45:10 +01:00