fix directory in publish-artifactory

also, don't pass -x to bash