packaging script for jenkins