source: obs_notify_generic/notify_bareos_test.pl

Last change on this file was 1178, checked in by joergs, on Jun 3, 2015 at 6:03:44 PM

initial

  • Property svn:executable set to *
File size: 625 bytes
Line 
1#!/usr/bin/env perl
2
3use strict;
4use warnings;
5use Data::Dumper;
6use obs_notify_generic;
7
8my $notify = obs_notify_generic->new();
9$notify->notify(
10 "REPO_PUBLISHED",
11 {
12 'project' => 'bareos:master',
13 'package' => 'bareos-doc'
14 }
15);
16
17$notify->notify(
18 "XYZ",
19 {
20 'project' => 'bareos',
21 'package' => 'bareos-doc'
22 }
23);
24
25$notify->notify(
26 "TEST",
27 {
28 'project' => 'bareos',
29 'package' => 'bareos-doc'
30 }
31);
32$notify->notify(
33 "SRCSRV_COMMIT",
34 {
35 'project' => 'bareos',
36 'package' => 'bareos-doc'
37 }
38);
39
40#print Dumper( $notify->cfg );
Note: See TracBrowser for help on using the repository browser.