git plugin to show the OpenStack job log URL for a commit
Go to file
OpenDev Sysadmins 03aa7abe5d OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:51:57 +00:00
git_os_job don't decode bytes to unicode twice 2017-10-03 13:02:48 -04:00
.gitignore ignore pbr build artifacts 2013-09-12 15:38:14 -04:00
.gitreview OpenDev Migration Patch 2019-04-19 19:51:57 +00:00
.zuul.yaml complete import into opendev infrastructure 2018-12-14 10:00:30 -05:00
CONTRIBUTING.rst complete import into opendev infrastructure 2018-12-14 10:00:30 -05:00
LICENSE Initial commit 2013-09-11 15:26:15 -07:00
README.rst complete import into opendev infrastructure 2018-12-14 10:00:30 -05:00
announce.rst update announce.rst 2017-10-02 12:00:41 -04:00
setup.cfg update author email 2017-10-02 11:59:12 -04:00
setup.py Update copyright and readme 2013-09-12 15:25:03 -04:00
tox.ini complete import into opendev infrastructure 2018-12-14 10:00:30 -05:00

README.rst

git-os-job

git plugin to show the OpenStack job log for a commit

What is git-os-job?

The OpenStack project stores the logs for all of the test jobs related to a commit on http://logs.openstack.org organized by the commit hash. To review the logs after a job runs, most developers start with the message jenkins leaves on gerrit, and click through to the log files. Not all jenkins jobs are triggered by or related to a gerrit review, though (e.g, release tags).

git-os-job makes it easy to find those logs by finding the hash of the commit and using it to build the right URL. It will then either print the URL or open a web browser directly.

Examples

Look at the jobs related to the HEAD commit, usually in a development branch that has been submitted to gerrit using git-review already.:

$ git os-job

Look at the jobs related to the previous commit, such as when a development branch has a series of independent changes in it:

$ git os-job HEAD^1

Look at the jobs related to a specific commit by tag, such as after submitting a release tag:

$ git os-job version.tag

Contributing and Reporting Bugs

Please use the storyboard tracker to report problems.

https://storyboard.openstack.org/#!/project/1099

Patches for improvements are welcome, too, via gerrit:

https://git.openstack.org/openstack/git-os-job