tools/python-jenkinsapi.git
9 months agoSupport build python3.x version in openSUSE 12/296612/6 devel master sandbox/wangbiao/py3_version
biao716.wang [Wed, 2 Aug 2023 06:06:06 +0000 (15:06 +0900)]
Support build python3.x version in openSUSE
writing "PBR_VERSION=X.Y.Z" to fix build error:
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository.
It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to
pbr.version.VersionInfo. Project name jenkinsapi was given, but was not able to be found

Change-Id: Ifbabf252febcdabd1d35f384da528730399ae45f
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
14 months agoport code from python2 to python3 17/289917/26
biao716.wang [Wed, 15 Mar 2023 10:35:54 +0000 (19:35 +0900)]
port code from python2 to python3

Change-Id: I4b8c51a7ba90e07fc8d558c69bd924a93fa8b908
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
3 years agoFix no files packed in debian build 19/236419/1 accepted/tools_devbase_tools_legacy devel-py2 accepted/tools/devbase/tools/legacy/20240422.110837 accepted/tools/devbase/tools/legacy/20240423.040717 accepted/tools/devbase/tools/legacy/20240424.050658
biao716.wang [Wed, 17 Jun 2020 03:34:05 +0000 (12:34 +0900)]
Fix no files packed in debian build

Change-Id: Ie4d54f70523c0734eb1e6d560eebde1cea3e9bc3
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
8 years agoAdd find-debuginfo.sh accepted/tizen_devbase_tools devel_psk_20160727 release-20160315 release-20160411 release-20160531 release-20160615 release-20160930 release-20161231 spin-release-latest accepted/tizen/devbase/tools/20190927.044914 submit/trunk/20190927.012842 submit/trunk/20191017.111201 submit/trunk/20191017.233826 submit/trunk/20191030.112603 submit/trunk/20191101.102136 submit/trunk/20200612.185510
shuai.fu [Tue, 26 Jan 2016 06:09:42 +0000 (14:09 +0800)]
Add find-debuginfo.sh
Modify spec add "cp -f find-debuginfo.sh /usr/lib/rpm/find-debuginfo.sh"

Change-Id: I0fea330095bdb0979e20b9487f802b1022cfed18
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
9 years agoAdd rpm packaging release-test-20150810
Ed Bartosh [Sun, 1 Feb 2015 12:27:13 +0000 (14:27 +0200)]
Add rpm packaging

Fixes: #2387

Change-Id: Ib0898f8efdbf23f8bed4bbc4c8b097da412713ce
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoAdd config file for git-buildpackage
Ed Bartosh [Sun, 1 Feb 2015 12:25:58 +0000 (14:25 +0200)]
Add config file for git-buildpackage

Change-Id: I951cee2ce85399b6e73d38280f9d960c2195275e
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoAdd debian packaging
Ed Bartosh [Sun, 1 Feb 2015 12:08:52 +0000 (14:08 +0200)]
Add debian packaging

Debian and Ubuntu 12.04 LTS don't have this package yet and repa fails to
install. So, adding .deb packaging to solve this.

Change-Id: Ibd38a453df670fa6dc90aecc38a4fc28dbbd05ef
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoMerge branch 'unstable' v0.2.26
Salim Fadhley [Tue, 13 Jan 2015 22:25:23 +0000 (22:25 +0000)]
Merge branch 'unstable'

9 years agoversion bump
Salim Fadhley [Tue, 13 Jan 2015 22:24:36 +0000 (22:24 +0000)]
version bump

9 years agoMerge branch 'master' into unstable
Salim Fadhley [Tue, 13 Jan 2015 22:06:09 +0000 (22:06 +0000)]
Merge branch 'master' into unstable

Conflicts:
jenkinsapi/job.py

9 years agoSet pylint version to ensure compatibility with python 2.6
Aleksey Maksimov [Sun, 11 Jan 2015 13:38:27 +0000 (21:38 +0800)]
Set pylint version to ensure compatibility with python 2.6

9 years agoSet pylint version to ensure compatibility with python 2.6
Aleksey Maksimov [Sun, 11 Jan 2015 13:38:27 +0000 (21:38 +0800)]
Set pylint version to ensure compatibility with python 2.6

9 years agoMerge pull request #329 from dirk-thomas/feature/fix_invoke_skip_if_running
Aleksey Maksimov [Fri, 2 Jan 2015 06:51:44 +0000 (14:51 +0800)]
Merge pull request #329 from dirk-thomas/feature/fix_invoke_skip_if_running

fix invoke(skip_if_running=True) triggering a build even when a build is already running

9 years agofix invoke(skip_if_running=True)
Dirk Thomas [Thu, 1 Jan 2015 01:14:32 +0000 (17:14 -0800)]
fix invoke(skip_if_running=True)

9 years agoMerge pull request #322 from dirk-thomas/feature/config_view
Aleksey Maksimov [Fri, 19 Dec 2014 09:14:59 +0000 (17:14 +0800)]
Merge pull request #322 from dirk-thomas/feature/config_view

allow configuration of views

9 years agoadd View.get_config() and tests covering View.get_config() as well as View.update_con...
Dirk Thomas [Fri, 21 Nov 2014 20:36:12 +0000 (12:36 -0800)]
add View.get_config() and tests covering View.get_config() as well as View.update_config()

9 years agoadd update_config() to view
Dirk Thomas [Thu, 20 Nov 2014 19:40:41 +0000 (11:40 -0800)]
add update_config() to view

9 years agoMerge pull request #315 from roidelapluie/master
Aleksey Maksimov [Fri, 17 Oct 2014 05:38:16 +0000 (13:38 +0800)]
Merge pull request #315 from roidelapluie/master

Fix a typo in a function name in queing

9 years agoFix a typo in a function name in queing
Julien Pivotto [Thu, 16 Oct 2014 19:39:08 +0000 (21:39 +0200)]
Fix a typo in a function name in queing

Replacing iterivalues() by itervalues(), and then fixing the values()
function of Queue object.

9 years agoMerge pull request #313 from lechat/tree_api
Aleksey Maksimov [Mon, 6 Oct 2014 08:21:55 +0000 (16:21 +0800)]
Merge pull request #313 from lechat/tree_api

Tree api

9 years agoadded decode to test to make it work in PY 3.x
Aleksey Maksimov [Mon, 6 Oct 2014 08:11:28 +0000 (16:11 +0800)]
added decode to test to make it work in PY 3.x

9 years agoPylint fixes
Aleksey Maksimov [Wed, 24 Sep 2014 15:11:55 +0000 (23:11 +0800)]
Pylint fixes

9 years agoAdded use of tree api to node, job, queue and fixed tests
Aleksey Maksimov [Tue, 23 Sep 2014 14:44:36 +0000 (22:44 +0800)]
Added use of tree api to node, job, queue and fixed tests

9 years agoAdded support for JENKINS_URL env. variable
Aleksey Maksimov [Tue, 23 Sep 2014 14:39:11 +0000 (22:39 +0800)]
Added support for JENKINS_URL env. variable

9 years agoReplaced _poll_if_needed with lightweight tree calls
Aleksey Maksimov [Fri, 19 Sep 2014 13:04:24 +0000 (21:04 +0800)]
Replaced _poll_if_needed with lightweight tree calls

9 years agoChanged job and build modules to use tree api
Aleksey Maksimov [Fri, 12 Sep 2014 15:10:21 +0000 (23:10 +0800)]
Changed job and build modules to use tree api

9 years agoLow level api change to support tree api
Aleksey Maksimov [Fri, 12 Sep 2014 13:30:14 +0000 (21:30 +0800)]
Low level api change to support tree api

9 years agoLinter fixes
ddavydov [Fri, 22 Aug 2014 16:56:12 +0000 (09:56 -0700)]
Linter fixes

9 years agoFixed kerberos request's interface
ddavydov [Fri, 22 Aug 2014 16:39:55 +0000 (09:39 -0700)]
Fixed kerberos request's interface

9 years agoFixing get_revision with no scm
Yusuke Tsutsumi [Wed, 5 Mar 2014 07:39:40 +0000 (23:39 -0800)]
Fixing get_revision with no scm

9 years agoadding test to illustrate bug with get_revision with no scm
Yusuke Tsutsumi [Wed, 5 Mar 2014 07:38:46 +0000 (23:38 -0800)]
adding test to illustrate bug with get_revision with no scm

9 years agoMerge pull request #250 from toumorokoshi/master
Salim Fadhley [Fri, 29 Aug 2014 23:49:36 +0000 (00:49 +0100)]
Merge pull request #250 from toumorokoshi/master

get_revision raises error when querying a job with no SCM

9 years agoMerge pull request #305 from aoen/dd_fix_kerb_auth
Salim Fadhley [Fri, 29 Aug 2014 23:48:32 +0000 (00:48 +0100)]
Merge pull request #305 from aoen/dd_fix_kerb_auth

Fix Kerberos Request Module

9 years agoLinter fixes
ddavydov [Fri, 22 Aug 2014 16:56:12 +0000 (09:56 -0700)]
Linter fixes

9 years agoFixed kerberos request's interface
ddavydov [Fri, 22 Aug 2014 16:39:55 +0000 (09:39 -0700)]
Fixed kerberos request's interface

9 years agoFixing get_revision with no scm
Yusuke Tsutsumi [Wed, 5 Mar 2014 07:39:40 +0000 (23:39 -0800)]
Fixing get_revision with no scm

9 years agoadding test to illustrate bug with get_revision with no scm
Yusuke Tsutsumi [Wed, 5 Mar 2014 07:38:46 +0000 (23:38 -0800)]
adding test to illustrate bug with get_revision with no scm

9 years agoTiny fixes.
Salim Fadhley [Sun, 3 Aug 2014 22:02:25 +0000 (23:02 +0100)]
Tiny fixes.

9 years agoMore fixes to parameterized builds - still broken.
Salim Fadhley [Sun, 3 Aug 2014 21:53:33 +0000 (22:53 +0100)]
More fixes to parameterized builds - still broken.

9 years agoTidy up exceptions file.
Salim Fadhley [Sun, 3 Aug 2014 20:01:35 +0000 (21:01 +0100)]
Tidy up exceptions file.

9 years agoFix redefinition of id.
Salim Fadhley [Sun, 3 Aug 2014 16:55:34 +0000 (17:55 +0100)]
Fix redefinition of id.

9 years agoLots of fixes
Salim Fadhley [Sun, 3 Aug 2014 16:36:39 +0000 (17:36 +0100)]
Lots of fixes

9 years agoCut out some more crap, but noticed that invocation of parameterized
Salim Fadhley [Sun, 3 Aug 2014 00:28:26 +0000 (01:28 +0100)]
Cut out some more crap, but noticed that invocation of parameterized
builds is broken.

9 years agoFix some pep8 violations I had introduced.
Salim Fadhley [Sat, 2 Aug 2014 23:16:13 +0000 (00:16 +0100)]
Fix some pep8 violations I had introduced.

9 years agoFix many more bugs
Salim Fadhley [Sat, 2 Aug 2014 23:14:39 +0000 (00:14 +0100)]
Fix many more bugs

9 years agoTrying to fix more errors.
Salim Fadhley [Sat, 2 Aug 2014 23:00:07 +0000 (00:00 +0100)]
Trying to fix more errors.

9 years agoFix way more bugs.
Salim Fadhley [Sat, 2 Aug 2014 15:57:38 +0000 (16:57 +0100)]
Fix way more bugs.

9 years agoPep8 fixes + remove bogus imports
Salim Fadhley [Sat, 2 Aug 2014 15:38:11 +0000 (16:38 +0100)]
Pep8 fixes + remove bogus imports

9 years agofix a bunch of tests
Salim Fadhley [Sat, 2 Aug 2014 15:09:55 +0000 (16:09 +0100)]
fix a bunch of tests

9 years agoreducing the number of errors from the refactor of invocation/queues
Salim Fadhley [Sat, 2 Aug 2014 00:15:34 +0000 (01:15 +0100)]
reducing the number of errors from the refactor of invocation/queues

9 years agointerim commit - refactor of queue & invocation
Salim Fadhley [Fri, 1 Aug 2014 00:09:02 +0000 (01:09 +0100)]
interim commit - refactor of queue & invocation

9 years agoProposed fix for #297
Salim Fadhley [Wed, 30 Jul 2014 23:33:59 +0000 (00:33 +0100)]
Proposed fix for #297

9 years agoVersion bump and update deps to the latest version. Also added a link to v0.2.25
Salim Fadhley [Wed, 30 Jul 2014 21:26:49 +0000 (22:26 +0100)]
Version bump and update deps to the latest version. Also added a link to
requires.io to the readme.rst file

9 years agoensure that tags are pushed at the end of every build
Salim Fadhley [Wed, 30 Jul 2014 00:48:16 +0000 (01:48 +0100)]
ensure that tags are pushed at the end of every build

9 years agoremove duplicated travis link v0.2.24
Salim Fadhley [Wed, 30 Jul 2014 00:38:27 +0000 (01:38 +0100)]
remove duplicated travis link

9 years agoremove parts of failing tests
Salim Fadhley [Wed, 30 Jul 2014 00:24:01 +0000 (01:24 +0100)]
remove parts of failing tests

9 years agoversion bump
Salim Fadhley [Wed, 30 Jul 2014 00:17:42 +0000 (01:17 +0100)]
version bump

9 years agoplugin info example
Salim Fadhley [Wed, 30 Jul 2014 00:17:25 +0000 (01:17 +0100)]
plugin info example

9 years agopep8 tidyup and example of plugin querying
Salim Fadhley [Wed, 30 Jul 2014 00:14:29 +0000 (01:14 +0100)]
pep8 tidyup and example of plugin querying

9 years agobetter support for querying plugins
Salim Fadhley [Tue, 29 Jul 2014 23:56:36 +0000 (00:56 +0100)]
better support for querying plugins

9 years agotidy up links section
Salim Fadhley [Mon, 28 Jul 2014 23:58:50 +0000 (00:58 +0100)]
tidy up links section

9 years agomega tidy-up of the docs
Salim Fadhley [Mon, 28 Jul 2014 23:48:08 +0000 (00:48 +0100)]
mega tidy-up of the docs

9 years agoadd doc upload step to the release script
Salim Fadhley [Mon, 28 Jul 2014 23:32:04 +0000 (00:32 +0100)]
add doc upload step to the release script

9 years agotidy up travis files
Salim Fadhley [Mon, 28 Jul 2014 23:27:57 +0000 (00:27 +0100)]
tidy up travis files

9 years agoadded additional versions of python to the travis configuration; v0.2.23
Salim Fadhley [Mon, 28 Jul 2014 23:12:46 +0000 (00:12 +0100)]
added additional versions of python to the travis configuration;

9 years agofix some pep8 violations
Salim Fadhley [Mon, 28 Jul 2014 22:55:59 +0000 (23:55 +0100)]
fix some pep8 violations

9 years agoadded tagging of releases
Salim Fadhley [Mon, 28 Jul 2014 22:50:37 +0000 (23:50 +0100)]
added tagging of releases

9 years agoadded a way of getting the api version from the command-line
Salim Fadhley [Mon, 28 Jul 2014 22:41:05 +0000 (23:41 +0100)]
added a way of getting the api version from the command-line

9 years agoadd the __version__ feature to the package
Salim Fadhley [Mon, 28 Jul 2014 22:36:48 +0000 (23:36 +0100)]
add the __version__ feature to the package

9 years agoversion bump
Salim Fadhley [Sun, 27 Jul 2014 22:43:38 +0000 (23:43 +0100)]
version bump

9 years agoadded travis buttons to readme
Salim Fadhley [Sun, 27 Jul 2014 22:42:26 +0000 (23:42 +0100)]
added travis buttons to readme

9 years agoproposed fix for #295 - crash during get_params on maven jobs
Salim Fadhley [Sun, 27 Jul 2014 22:32:01 +0000 (23:32 +0100)]
proposed fix for #295 - crash during get_params on maven jobs

9 years agominor version bump
Salim Fadhley [Sun, 27 Jul 2014 21:45:25 +0000 (22:45 +0100)]
minor version bump

9 years agoadd release script, fix broken landscape.io image in docs
Salim Fadhley [Mon, 21 Jul 2014 01:23:49 +0000 (02:23 +0100)]
add release script, fix broken landscape.io image in docs

9 years agorevert accidental removel of unittest2 from the setup.py script
Salim Fadhley [Sun, 13 Jul 2014 21:29:14 +0000 (22:29 +0100)]
revert accidental removel of unittest2 from the setup.py script

9 years agopre release tidy-ups and version bump
Salim Fadhley [Thu, 10 Jul 2014 23:07:20 +0000 (00:07 +0100)]
pre release tidy-ups and version bump

9 years agoMerge pull request #292 from lechat/get_post
Aleksey Maksimov [Thu, 10 Jul 2014 14:03:41 +0000 (22:03 +0800)]
Merge pull request #292 from lechat/get_post

Fix for issue #291

9 years agoFix for issue #291
Aleksey Maksimov [Thu, 10 Jul 2014 13:50:48 +0000 (21:50 +0800)]
Fix for issue #291

Methods will re-try POST if GET fails

9 years agoMerge pull request #288 from timp21337/master
Salim Fadhley [Tue, 17 Jun 2014 19:56:41 +0000 (20:56 +0100)]
Merge pull request #288 from timp21337/master

Example of adding a shell build

9 years agoExample of adding a shell build
timp21337 [Tue, 17 Jun 2014 16:47:55 +0000 (17:47 +0100)]
Example of adding a shell build

9 years agoMerge pull request #286 from jduan/master
Aleksey Maksimov [Wed, 11 Jun 2014 02:52:52 +0000 (10:52 +0800)]
Merge pull request #286 from jduan/master

Add build.get_causes

9 years agomake tests more robust
Jingjing Duan [Mon, 9 Jun 2014 22:05:44 +0000 (15:05 -0700)]
make tests more robust

9 years agoadd get_causes
Jingjing Duan [Mon, 9 Jun 2014 22:02:23 +0000 (15:02 -0700)]
add get_causes

9 years agoMerge pull request #285 from jduan/get_build_metadata
Aleksey Maksimov [Wed, 4 Jun 2014 23:20:58 +0000 (07:20 +0800)]
Merge pull request #285 from jduan/get_build_metadata

Get build metadata

9 years agoadd comment about depth control
Jingjing Duan [Wed, 4 Jun 2014 22:54:10 +0000 (15:54 -0700)]
add comment about depth control

9 years agoadd job.get_build_metadata
Jingjing Duan [Wed, 4 Jun 2014 21:59:38 +0000 (14:59 -0700)]
add job.get_build_metadata

For large builds, this method can be significantly faster!

10 years agoMerge pull request #282 from lechat/parameters_fix
Aleksey Maksimov [Sat, 24 May 2014 16:43:16 +0000 (00:43 +0800)]
Merge pull request #282 from lechat/parameters_fix

Parameters fix

10 years agoFix for P3 compatibility
Aleksey Maksimov [Sat, 24 May 2014 15:34:46 +0000 (23:34 +0800)]
Fix for P3 compatibility

10 years agoDisabled "too many branches" in pylint
Aleksey Maksimov [Sat, 24 May 2014 15:20:04 +0000 (23:20 +0800)]
Disabled "too many branches" in pylint

10 years agoFix for issue #280
Aleksey Maksimov [Sat, 24 May 2014 15:08:03 +0000 (23:08 +0800)]
Fix for issue #280

Properly pass job parameters via json
When files parameter present select correct job invokation url

10 years agoMerge pull request #277 from lechat/new_job_tests
Aleksey Maksimov [Thu, 1 May 2014 16:44:20 +0000 (00:44 +0800)]
Merge pull request #277 from lechat/new_job_tests

Better tests for job._add_missing_builds()

10 years agoAdded better test to job._add_missing_builds()
Aleksey Maksimov [Thu, 1 May 2014 16:31:54 +0000 (00:31 +0800)]
Added better test to job._add_missing_builds()

10 years agoRevert "Bumped Python from 3.3 to 3.4"
Aleksey Maksimov [Tue, 29 Apr 2014 11:41:27 +0000 (19:41 +0800)]
Revert "Bumped Python from 3.3 to 3.4"

This reverts commit c265fb35d3abe42a2415e07dc269c6490e651841.

10 years agoBumped Python from 3.3 to 3.4
Aleksey Maksimov [Mon, 28 Apr 2014 23:27:42 +0000 (07:27 +0800)]
Bumped Python from 3.3 to 3.4

Because TravisCI now supports 3.4

10 years agoMerge pull request #275 from nmiroshnichenko/master
Aleksey Maksimov [Sat, 26 Apr 2014 07:39:27 +0000 (15:39 +0800)]
Merge pull request #275 from nmiroshnichenko/master

add logging url when non 200 OK response

10 years agoAdded section about Python versions
Aleksey Maksimov [Sat, 26 Apr 2014 07:34:26 +0000 (15:34 +0800)]
Added section about Python versions

10 years agoMerge pull request #276 from lechat/python3_experimental
Aleksey Maksimov [Sat, 26 Apr 2014 07:21:34 +0000 (15:21 +0800)]
Merge pull request #276 from lechat/python3_experimental

Python3 experimental

10 years agoAdded short delay to let job run for a bit
Aleksey Maksimov [Sat, 26 Apr 2014 07:11:58 +0000 (15:11 +0800)]
Added short delay to let job run for a bit

10 years agoadd logging url when non 200 OK response
Nikolay Miroshnichenko [Fri, 25 Apr 2014 21:02:08 +0000 (01:02 +0400)]
add logging url when non 200 OK response

10 years agoAdded small delay to let jenkins catchup
Aleksey Maksimov [Fri, 25 Apr 2014 13:59:10 +0000 (21:59 +0800)]
Added small delay to let jenkins catchup