- update to 0.3.3: * Fixed for Credentials 2.x plugin (#460) * Added tests for adding jobs to view (#469) * Return full response object if requested on job.update_config method. * Adding SSL disabling option, authentication, correction of Java Heap setting and some very helpful comments * Fixed failing tests on Jenkins 2.0 (#473) * Delete build (#493) * Decoding bytes with the ISO-8859-1 encoding * Removed pypi upload * Added coveralls integration * When job is invoked with file param http headers will be now set (#494) * Adding newline at end of file * Adding a note about using an API token as password * KrbRequester.get_request_dict missing **kwargs * Update setup.cfg to support universal wheels * Set version to 0.3.00 and cleaned up a bit * Add ssl_verify flag to the Jenkins class * Changed jenkins launcher to use pre-built home dir * Proper handling of self.url * Added SSH node creation and tests * Adds correct build information to Build.get_artifacts * FIX: allow jenkinsapi to be used without installation * And exit 1... * working tox configuration for testing/lint with multiple python versions * How to kick-off a paramterized build (eg build version, python version) * FIX: fix bad indentation (2->4 spaces) * Fixed EMPTY_JOB config to match the one returned from Jenkins * Now using either wget or curl to download the jenkins.war * Fix pylint violations. OBS-URL: https://build.opensuse.org/request/show/440877 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jenkinsapi?expand=0&rev=7
80 lines
2.8 KiB
RPMSpec
80 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package python-jenkinsapi
|
|
#
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: python-jenkinsapi
|
|
Version: 0.3.3
|
|
Release: 0
|
|
Summary: A Python API for accessing resources on a Jenkins continuous-integration server
|
|
License: MIT
|
|
Group: Development/Languages/Python
|
|
Url: https://github.com/salimfadhley/jenkinsapi
|
|
Source: https://pypi.io/packages/source/j/jenkinsapi/jenkinsapi-%{version}.tar.gz
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-pytz >= 2014.4
|
|
BuildRequires: python-requests >= 2.3.0
|
|
BuildRequires: python-setuptools
|
|
Requires: python-pytz >= 2014.4
|
|
Requires: python-requests >= 2.3.0
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
%else
|
|
BuildArch: noarch
|
|
%endif
|
|
|
|
%description
|
|
Jenkins is the market leading continuous integration system, originally created
|
|
by Kohsuke Kawaguchi.
|
|
|
|
Jenkins (and It's predecessor Hudson) are useful projects for automating common
|
|
development tasks (e.g. unit-testing, production batches) - 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 many Jenkins oriented tasks
|
|
easier to automate.
|
|
|
|
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 artefacts by simple criteria
|
|
* Block until jobs are complete
|
|
* Install artefacts to custom-specified directory structures
|
|
* username/password auth support for jenkins instances with auth turned on
|
|
* Ability to search for builds by subversion revision
|
|
* Ability to add/remove/query Jenkins slaves
|
|
* Ability to add/remove/modify Jenkins views
|
|
|
|
%prep
|
|
%setup -q -n jenkinsapi-%{version}
|
|
|
|
%build
|
|
python setup.py build
|
|
|
|
%install
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc README.rst
|
|
%{_bindir}/jenkins_invoke
|
|
%{_bindir}/jenkinsapi_version
|
|
%{python_sitelib}/*
|
|
|
|
%changelog
|