Finds the latest common stable revision for all builds in a Jenkins view.
Useful for finding a commonly releasable revision across many different Jenkins jobs.
To get the latest stable revision, run:
python find_last_stable_revision.py http://[jenkins host]/view/[view name]/
If you want more details on what's going on, append the --verbose
flag:
python find_last_stable_revision.py http://[jenkins host]/view/[view name]/ --verbose
The tests uses two packages to be installed, mockito
and unittest-xml-reporting
. They
can be installed using easy_install
like this:
easy_install mockito unittest-xml-reporting
The tests can then be run by executing ./tests.py
.