test jenkins whether hook committed changes.