Update Jenkins plugin to work. Add docstrings.