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:

https://stackoverflow.com/a/4791460

nexus default username/password:

admin/admin123

Nexus Repository Manager OSS 3.x change port

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

 

Advertisements

mac related notes, useful links etc

mac os x path environment variable

path mac – http://www.cyberciti.biz/faq/appleosx-bash-unix-change-set-path-environment-variable/

path linux – http://www.cyberciti.biz/faq/set-environment-variable-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.