Skip to content

Instantly share code, notes, and snippets.

@telagraphic
Created October 15, 2012 16:45
Show Gist options
  • Save telagraphic/3893539 to your computer and use it in GitHub Desktop.
Save telagraphic/3893539 to your computer and use it in GitHub Desktop.
Jenkins Failure
# /etc/profile
# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc
# It's NOT a good idea to change this file unless you know what you
# are doing. It's much better to create a custom.sh shell script in
# /etc/profile.d/ to make custom changes to your environment, as this
# will prevent the need for merging in future updates.
ANT_HOME="/etc/alternatives/anthome"
CUCUMBER_HOME="~/.rvm/gems/ruby-1.9.2-p320/bin/cucumber"
export PATH=$PATH:$CUCUMBER_HOME
pathmunge () {
case ":${PATH}:" in
*:"$1":*)
;;
*)
if [ "$2" = "after" ] ; then
PATH=$PATH:$1
else
PATH=$1:$PATH
fi
esac
}
if [ -x /usr/bin/id ]; then
if [ -z "$EUID" ]; then
# ksh workaround
EUID=`id -u`
UID=`id -ru`
fi
USER="`id -un`"
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment