summaryrefslogtreecommitdiffstats
path: root/src/build/tools
diff options
context:
space:
mode:
authorWilliam G. Hoffa <wghoffa@us.ibm.com>2018-06-02 11:06:41 -0400
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-06-02 12:04:56 -0400
commit45f20525ba608f9d9bb40c393e0d4ae9e99e9e46 (patch)
tree73779956d78e937e547b54278f42fd98b209f3ca /src/build/tools
parent5815703c3be9f8830011f573a719e69553cb1b94 (diff)
downloadtalos-hostboot-45f20525ba608f9d9bb40c393e0d4ae9e99e9e46.tar.gz
talos-hostboot-45f20525ba608f9d9bb40c393e0d4ae9e99e9e46.zip
Revert "Force hbRelease to search 'master' branch"
This reverts commit 6bb10d4941533e21d5b01c634d7f2fcaed83364c. Change-Id: Id196db5a0e19494254063360cd74de85feeb3d23 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59807 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/build/tools')
-rwxr-xr-xsrc/build/tools/hbRelease23
1 files changed, 14 insertions, 9 deletions
diff --git a/src/build/tools/hbRelease b/src/build/tools/hbRelease
index ba851756d..898c2bbac 100755
--- a/src/build/tools/hbRelease
+++ b/src/build/tools/hbRelease
@@ -2137,15 +2137,6 @@ sub gerrit_query_commit
my $project = config_project();
- #Temporary Hack to look for commit in master branch if not found in
- # release-fips920
- if (($project eq "hostboot") and $globals{"branch"} eq "release-fips920")
- {
- print "Automatically searching for $commit in $project/$globals{\"branch\"} \n" if $debug;
- # Force next iteration to look for master branch
- $globals{"branch"}="master";
- gerrit_query_commit($commit);
- }
my $query_result = gerrit_query("$commit project:$project ".
"branch:".$globals{"branch"});
@@ -2168,6 +2159,20 @@ sub gerrit_query_commit
}
}
}
+
+ #Temporary Hack to look for commit in master branch if not found in
+ # release-fips920
+ if (($project eq "hostboot") and $globals{"branch"} eq "release-fips920")
+ {
+ print "Cannot find $commit in $project/$globals{\"branch\"} \n" if $debug;
+ # Force next iteration to look for master branch
+ $globals{"branch"}="master";
+ gerrit_query_commit($commit);
+ }
+ else
+ {
+ die "Cannot find $commit in $project/$globals{\"branch\"}";
+ }
}
# sub gerrit_is_patch
OpenPOWER on IntegriCloud