无法使用bazel构建Gerri插件

时间:2018-08-08 16:47:16

标签: plugins gerrit bazel

由于所有时间都存在以下错误,我试图找出如何使用bazel(任何插件)构建Gerrit插件

>>> bazel build commit-message-length-validator                                     
Starting local Bazel server and connecting to it...
 .............
ERROR: Skipping 'commit-message-length-validator': error loading package '': Extension file not found. Unable to load package for '//tools/bzl:plugin.bzl': BUILD file not found on package path
WARNING: Target pattern parsing failed.
ERROR: error loading package '': Extension file not found. Unable to load package for '//tools/bzl:plugin.bzl': BUILD file not found on package path
INFO: Elapsed time: 0.665s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
currently loading:


>>> bazel build commit-message-length-validator:commit-message-length-validator
ERROR: Skipping 'commit-message-length-validator:commit-message-length-validator': no such package 'commit-message-length-validator': BUILD file not found on package path
WARNING: Target pattern parsing failed.
ERROR: no such package 'commit-message-length-validator': BUILD file not found on package path
INFO: Elapsed time: 0.209s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

请教这里,以便为此获得某种帮助。

谢谢

Gerrit插件: https://review.openstack.org/Documentation/config-plugins.html

0 个答案:

没有答案