Skip to content

Instantly share code, notes, and snippets.

@achmadns
Created September 28, 2015 09:49
Show Gist options
  • Save achmadns/dfdd5f1f4401a6f50ab2 to your computer and use it in GitHub Desktop.
Save achmadns/dfdd5f1f4401a6f50ab2 to your computer and use it in GitHub Desktop.
Run Jenkins
# simple example
java -Dcom.sun.akuma.Daemon=daemonized -jar /app/softwares/jenkins-1.613.war --daemon
# tuned jvm settings
nohup /app/.jenv/candidates/java/1.8.0_60/bin/java -Xms3G -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:-OmitStackTraceInFastThrow -Dcom.sun.akuma.Daemon=daemonized -jar /app/softwares/jenkins-1.613.war --daemon &> /dev/null &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment