commit | 3b07249a9a59af0f59cf428adac907798c6daebf | [log] [tgz] |
---|---|---|
author | Khai Do <zaro0508@gmail.com> | Tue Mar 08 23:04:14 2016 -0800 |
committer | Khai Do <zaro0508@gmail.com> | Tue Mar 08 23:08:54 2016 -0800 |
tree | 84f22093dfdbe846d6740e2be6cd59a11cf7b7b6 | |
parent | db42b2646279e013241a9bd75c4fb756a85c3156 [diff] |
Fix in-tree eclipse project build I get the following error when attempting to build the eclipse project with gerrit-ci-plugin in tree: ~/work-gerrit$ ./tools/eclipse/project.py Not using buckd because watchman isn't installed. [-] PARSING BUCK FILES...FINISHED 1.5s [100%] BUILD FAILED: Couldn't get dependency '//plugins/gerrit-ci-plugin:gerrit-ci-plugin__plugin' of target '//tools/eclipse:classpath': No rule found when resolving target //plugins/gerrit-ci-plugin:gerrit-ci-plugin__plugin in build file //plugins/gerrit-ci-plugin/BUCK Defined in file: /Users/zaro0508/work-gerrit/plugins/gerrit-ci-plugin/BUCK Changing the plugin name to match the directory fixed this issue.
This plugin allows CI system to report result outcome to Gerrit. The result is visualized on change screen pet patch set. Reporting can be done through SSH command or REST API.
CI data is stored in seperate CI database (not review DB used by Gerrit itself). The following database dialects are currently supported:
Database is initialized and the schema is created with init plugin step:
*** SQL Database for CI plugin *** Database server type [h2]: ? Supported options are: derby h2 mysql oracle postgresql Database server type [h2]: h2 Initialized <gerrit-site>
Schema upgrade takes place in init plugin step:
*** SQL Database for CI plugin *** Database server type [h2]: Upgrading schema to 2 ... Migrating data to schema 2 ...
ssh gerritd ci verify --verification "'category=gate-horizon-pep8|value=1|url=https://ci.host.com/jobs/pep8/4711|verifier=Jenkins|comment=Non Voting'" a14825a6e9c75b68c6be486ec2b8b6fed43b8858
curl -X POST --digest --user jow:secret --data-binary @post-verify.txt --header "Content-Type: application/json; charset=UTF-8" http://localhost:8080/a/changes/1/revisions/4d5fda7e653534b1709883d96264910fab03ddbb/verify $ cat post-verify.txt { "verifications": { "gate-puma-pep8": { "value": -1, "url": "https://ci.host.com/jobs/pep8/1711", "comment": "Failed", "verifier": "Jenkins" } } }
Apache License 2.0