diff options
| author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-17 07:42:46 +0000 |
|---|---|---|
| committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-17 09:37:54 +0200 |
| commit | 2bd27f18f2435681259c0535c7b223195b3bdf7b (patch) | |
| tree | 6a236a6041d4de647d00302ea944f108f6b3f9b4 /ciabot | |
| parent | f351b28bdacc287f1cdde6f2c9a985db23b0b52d (diff) | |
we need to always include a branch name
Diffstat (limited to 'ciabot')
| -rwxr-xr-x | ciabot/run-libreoffice-ciabot.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ciabot/run-libreoffice-ciabot.pl b/ciabot/run-libreoffice-ciabot.pl index 80551a0..517960c 100755 --- a/ciabot/run-libreoffice-ciabot.pl +++ b/ciabot/run-libreoffice-ciabot.pl @@ -120,7 +120,10 @@ sub report($$$) { qx(perl -I $cwd $cwd/sigui-bugzilla.pl $repo $_ $branch_name); } else { if ( is_valid_bugzilla_commit( $repo, $branch_name ) ) { - qx(python $cwd/libreoffice-bugzilla2.py -r $repo -c $_ -b $branch_name); + my $branch = $branch_name; + $branch = 'master' if ($branch eq ''); + print "reporting to bugzilla: $_ and branch $branch"; + qx(python $cwd/libreoffice-bugzilla2.py -r $repo -c $_ -b $branch >> /home/ciabot/bugzilla.log); } qx($ciabot $repo $_ $branch_name $ciaproxy); } |
