added support for nightly build
updated the documentation for jenkins nightly build support