opscode-cookbooks/jenkins — pull request #15 by pleckey (2013-03-20 17:05:27+00:00)
Title: Moved jvm_options before -jar

As of Jenkins 1.4+, it validates command line arguments. Putting JVM options after the -jar, such as "-Dorg.jenkinsci.plugins.gitclient.Git.useCLI=true" results in the error "Caused by: java.lang.IllegalArgumentException: Multiple command line argument specified: -Dorg.jenkinsci.plugins.gitclient.Git.useCLI=true" as Jenkins believes you are passing it the argument. Moving the jvm_options before the -jar solves this.