summaryrefslogtreecommitdiffstats
path: root/src/build
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2014-04-09 14:01:07 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-04-11 11:44:38 -0500
commit30aeda170801b895e8acd0af1d8cc2f89fbc2cc9 (patch)
tree484b414c5fe01d39fe98504a0b3c142160f52b5c /src/build
parentbe413cc85f1d7d48c57c3f00a18da7648fc340cc (diff)
downloadtalos-hostboot-30aeda170801b895e8acd0af1d8cc2f89fbc2cc9.tar.gz
talos-hostboot-30aeda170801b895e8acd0af1d8cc2f89fbc2cc9.zip
Fix hbRelease for commits across multiple projects
Change-Id: I7619a8585eabc3d40782995148ffcbcb5684235c Backport: release-fips810 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/10316 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build')
-rwxr-xr-xsrc/build/tools/hbRelease5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/build/tools/hbRelease b/src/build/tools/hbRelease
index 9d9505a29..4c4473eb1 100755
--- a/src/build/tools/hbRelease
+++ b/src/build/tools/hbRelease
@@ -1351,8 +1351,11 @@ sub gerrit_query
sub gerrit_query_commit
{
my $commit = shift;
+
+ my $project = config_project();
- my $query_result = gerrit_query("$commit branch:".$globals{"branch"});
+ my $query_result = gerrit_query("$commit project:$project ".
+ "branch:".$globals{"branch"});
foreach my $result (@{$query_result})
{
if ($result->{id} eq $commit)
OpenPOWER on IntegriCloud