fixed commands and indexing
Merge branch 'master' of github.com:rcbops/jenkins-build