maven, jenkins, nexus, git related

change mac os x jenkins default port:

sudo defaults write /Library/Preferences/org.jenkins-ci httpPort 8880

check if it changed:

defaults read /Library/Preferences/org.jenkins-ci

stop jenkins on mac os x:

sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist

or if the previous doesn’t work,

ps -ef | grep jenkins and then kill -9

start jenkins on mac os x:

sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist

Externalising SCM credentials with Maven:

nexus default username/password:


Nexus Repository Manager OSS 3.x change port

open /path/to/nexus/nexus-3.x/etc/



mac os x related

to have a colorful terminal in el capitan

create .bash_profile file in ~ and paste the following:

export TERM="xterm-color"
export PS1='\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\]:\[\e[0;34m\]\w\[\e[0m\]\$ '
alias ls="ls -G"

mac related notes, useful links etc

mac os x path environment variable

path mac –

path linux –

Reset garbled Terminal window on OS X

If your terminal has been shifted into “alternate character set” mode and you want to reset the terminal without closing the window and reopening it type

tput rmacs

at your (garbled) shell prompt. Your typing will appear garbled, too, but it will be back to normal after this command finishes.