added script for puiblishing in jenkins.