Repository: incubator-ranger Updated Branches: refs/heads/master 2e2bdd8a1 -> 503c827f8
RANGER-209: modified to use rangerqa account for JIRA instead of hadoopqa Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/503c827f Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/503c827f Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/503c827f Branch: refs/heads/master Commit: 503c827f83c2d15a8c4b14963f51a18b2a340db2 Parents: 2e2bdd8 Author: sneethiraj <[email protected]> Authored: Wed Apr 8 09:28:09 2015 -0400 Committer: sneethiraj <[email protected]> Committed: Wed Apr 8 10:30:25 2015 -0400 ---------------------------------------------------------------------- dev-support/test-patch.sh | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/503c827f/dev-support/test-patch.sh ---------------------------------------------------------------------- diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 4995432..fb26616 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -339,12 +339,18 @@ checkTests () { } cleanUpXml () { - cd $BASEDIR/conf - for file in `ls *.xml.template` - do - rm -f `basename $file .template` - done - cd $BASEDIR + if [ -d "${BASEDIR}/conf" ] + then + cd $BASEDIR/conf + for file in `ls *.xml.template` + do + if [ -f "${file}" ] + then + rm -f `basename ${file} .template` + fi + done + cd $BASEDIR + fi } ############################################################################### @@ -744,8 +750,8 @@ $comment" echo "" ### Update Jira with a comment export USER=hudson - $JIRACLI -s https://issues.apache.org/jira -a addcomment -u hadoopqa -p $JIRA_PASSWD --comment "$comment" --issue $defect - $JIRACLI -s https://issues.apache.org/jira -a logout -u hadoopqa -p $JIRA_PASSWD + $JIRACLI -s https://issues.apache.org/jira -a addcomment -u rangerqa -p $JIRA_PASSWD --comment "$comment" --issue $defect + $JIRACLI -s https://issues.apache.org/jira -a logout -u rangerqa -p $JIRA_PASSWD fi }
