services/obs-event-plugin.git
9 years agoRemove dependency to obs-server release-0.1 release-0.1.1
Ed Bartosh [Mon, 16 Feb 2015 20:40:57 +0000 (22:40 +0200)]
Remove dependency to obs-server

This is done to avoid installation failures like this:
  Problem: nothing provides obs-server needed by
  obs-event-plugin-0.1.1-25.1.noarch

Another way to solve it is to add OBS repositories to
.extra-repos for all packages in Services repo. However,
this seems to be even worse than removing dependency to
obs-server.

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoGet rid of perl warnings that polluted src_server.log:
Olev Kartau [Mon, 6 Oct 2014 18:59:49 +0000 (21:59 +0300)]
Get rid of perl warnings that polluted src_server.log:

defined(@array) is deprecated at notify_jenkins.pm line 85.
defined(@array) is deprecated at notify_jenkins.pm line 90.

Indeed, checking for array defined is incorrect as it checks
for scalar integer instead of "array not empty" as we want.

Change-Id: Ib2d8078a455767de8deade30047769222268d061

11 years agoRelease 0.1.1 0.1.1
Ed Bartosh [Wed, 16 Oct 2013 13:25:42 +0000 (16:25 +0300)]
Release 0.1.1

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoFixed build creation issue
Ed Bartosh [Tue, 24 Sep 2013 20:52:21 +0000 (23:52 +0300)]
Fixed build creation issue

Current code caused this Jenkins error:

   Form post required [Jenkins]

   You must use POST method to trigger builds. (From scripts you may
   instead pass a per-project authentication token, or authenticate with
   your API token.)

Fixed it by using POST instead of GET HTTP request.

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoRelease 0.1.0 0.1.0
Ed Bartosh [Tue, 15 Oct 2013 16:36:18 +0000 (19:36 +0300)]
Release 0.1.0

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoFixed bug in passing 'project' to jenkins job
Ed Bartosh [Wed, 2 Oct 2013 15:40:21 +0000 (18:40 +0300)]
Fixed bug in passing 'project' to jenkins job

project variable is properly set, but was not used in the code. The
result is that project is not passed to jenkins job and some events have
not been processed because of that.

Here is example of this issue taken from production log:
notify: trigger Jenkins uri=[http://user:pass@host:8080/robot/job/obs-event-dispatcher/buildWithParameters]
para=[project= event_type=OBS_SRCSRV_REQUEST_ACCEPTED para=...

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoAdded .extra-repos with OBS repositories
Ed Bartosh [Wed, 2 Oct 2013 16:01:18 +0000 (19:01 +0300)]
Added .extra-repos with OBS repositories

Providing OBS repositories to OTC Tools Tester to be able to install OBS
during installation check.

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoFix packaging issue release-0.0.1
Hasan Wan [Mon, 8 Jul 2013 02:56:15 +0000 (10:56 +0800)]
Fix packaging issue

Signed-off-by: hwan <hwan@owl.bj.intel.com>
11 years agoImplement more flexible event filtering for Jenkins trigger
Olev Kartau [Mon, 15 Apr 2013 09:17:55 +0000 (12:17 +0300)]
Implement more flexible event filtering for Jenkins trigger

Regexps can be configured that control which events do
cause Jenkins trigger and which are ignored.
Note that regexp can have multiple parts which
need to be in alphabetical order, because filter code
composes one string from all hash parts and makes
single regexp comparison.

Change-Id: I1534e3a8d8e5511fdffeb2ffef21821ea1d08fa6

11 years agoOBS plugin to trigger jenkins jobs
Hasan Wan [Tue, 20 Nov 2012 02:48:16 +0000 (10:48 +0800)]
OBS plugin to trigger jenkins jobs

Change-Id: Ifd0d9aede1252b6db5295578020fc9c0fcebab8f
Signed-off-by: Hasan Wan <hasan.wan@intel.com>