Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Fix copy-hdfs-jars-to-maven.sh to unbreak Jenkins HBase builds
Browse files Browse the repository at this point in the history
Summary:
Apparently the COMMANDER_WORKSPACE variable is not set in the Jenkins
environment, so using the username to determine whether we are running
as part of a Jenkins build.

Simple change, not reviewed.

Test Plan:
Tested on a build server.
  • Loading branch information
mbautin authored and Alex Feinberg committed Aug 14, 2012
1 parent 4156033 commit 8ce517d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copy-hdfs-jars-to-maven.sh
Expand Up @@ -50,7 +50,7 @@ echo "** HBase builds will pick up the HDFS* jars from the local maven repo."
# the localRepository for a central mvn repo that can be shared between # the localRepository for a central mvn repo that can be shared between
# all of the build/test agents # all of the build/test agents
OPTS="" OPTS=""
if [ -n "${COMMANDER_WORKSPACE:-}" ];then if [[ -n "${COMMANDER_WORKSPACE:-}" || "$USER" == "svcscm" ]]; then
OPTS="-s /scm/git/electric/hadoop_builds/settings.xml" OPTS="-s /scm/git/electric/hadoop_builds/settings.xml"
fi fi


Expand Down

0 comments on commit 8ce517d

Please sign in to comment.