{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/jenkins-dcos/issues/108","repository_url":"https://api.github.com/repos/mesosphere/jenkins-dcos","labels_url":"https://api.github.com/repos/mesosphere/jenkins-dcos/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/jenkins-dcos/issues/108/comments","events_url":"https://api.github.com/repos/mesosphere/jenkins-dcos/issues/108/events","html_url":"https://github.com/mesosphere/jenkins-dcos/pull/108","id":181768057,"number":108,"title":"Move ${JENKINS_OPTS} so that it goes before -jar","user":{"login":"andreychernih","id":131281,"avatar_url":"https://avatars.githubusercontent.com/u/131281?v=3","gravatar_id":"","url":"https://api.github.com/users/andreychernih","html_url":"https://github.com/andreychernih","followers_url":"https://api.github.com/users/andreychernih/followers","following_url":"https://api.github.com/users/andreychernih/following{/other_user}","gists_url":"https://api.github.com/users/andreychernih/gists{/gist_id}","starred_url":"https://api.github.com/users/andreychernih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreychernih/subscriptions","organizations_url":"https://api.github.com/users/andreychernih/orgs","repos_url":"https://api.github.com/users/andreychernih/repos","events_url":"https://api.github.com/users/andreychernih/events{/privacy}","received_events_url":"https://api.github.com/users/andreychernih/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-07T21:08:23Z","updated_at":"2016-11-16T22:57:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mesosphere/jenkins-dcos/pulls/108","html_url":"https://github.com/mesosphere/jenkins-dcos/pull/108","diff_url":"https://github.com/mesosphere/jenkins-dcos/pull/108.diff","patch_url":"https://github.com/mesosphere/jenkins-dcos/pull/108.patch"},"body":"Otherwise, an attempt to pass multile \"-D\" options raises an error:\n\n```\nI1007 20:23:13.065661 26957 docker.cpp:815] Running docker -H unix:///var/run/docker.sock run --cpu-shares 1024 --memory 2147483648 -e MARATHON_APP_LABEL_DCOS_PACKAGE_SOURCE=https://universe.mesosphere.com/repo -e LD_LIBRARY_PATH=/opt/mesosphere/lib -e MARATHON_APP_VERSION=2016-10-07T20:11:15.396Z -e HOST=10.5.1.41 -e MARATHON_APP_LABEL_MARATHON_SINGLE_INSTANCE_APP=true -e MARATHON_APP_RESOURCE_CPUS=1.0 -e MARATHON_APP_LABEL_DCOS_PACKAGE_REGISTRY_VERSION=2.0 -e SSH_KNOWN_HOSTS=github.com -e MARATHON_APP_LABEL_DCOS_SERVICE_SCHEME=http -e PORT_10102=5502 -e JENKINS_CONTEXT=/service/jenkins -e MARATHON_APP_RESOURCE_GPUS=0 -e MARATHON_APP_LABEL_DCOS_PACKAGE_RELEASE=13 -e JENKINS_AGENT_ROLE=* -e JVM_OPTS=-Xms1024m -Xmx1024m -e MARATHON_APP_LABEL_DCOS_SERVICE_NAME=jenkins -e PORT_10103=5503 -e MARATHON_APP_DOCKER_IMAGE=mesosphere/jenkins:2.0.1-2.7.4 -e MARATHON_APP_LABEL_DCOS_PACKAGE_NAME=jenkins -e MARATHON_APP_LABEL_DCOS_PACKAGE_VERSION=2.0.1-2.7.4 -e JENKINS_MESOS_MASTER=zk://leader.mesos:2181/mesos -e MESOS_TASK_ID=jenkins.ded5c56c-8ccb-11e6-ae7c-ea67d46665b6 -e PORT=5502 -e JENKINS_AGENT_USER=root -e MARATHON_APP_LABEL_DCOS_SERVICE_PORT_INDEX=0 -e MARATHON_APP_RESOURCE_MEM=2048.0 -e PORTS=5502,5503 -e PORT1=5503 -e JENKINS_OPTS=\"-Duser.timezone=America/Los_Angeles -Dorg.apache.commons.jelly.tags.fmt.timeZone=America/Los_Angeles\" -e MARATHON_APP_LABEL_DCOS_PACKAGE_IS_FRAMEWORK=true -e MARATHON_APP_RESOURCE_DISK=0.0 -e MARATHON_APP_LABELS=DCOS_PACKAGE_RELEASE DCOS_SERVICE_SCHEME DCOS_PACKAGE_SOURCE DCOS_PACKAGE_REGISTRY_VERSION DCOS_SERVICE_NAME DCOS_PACKAGE_FRAMEWORK_NAME DCOS_SERVICE_PORT_INDEX DCOS_PACKAGE_VERSION DCOS_PACKAGE_NAME MARATHON_SINGLE_INSTANCE_APP DCOS_PACKAGE_IS_FRAMEWORK -e MARATHON_APP_LABEL_DCOS_PACKAGE_FRAMEWORK_NAME=jenkins -e JENKINS_FRAMEWORK_NAME=jenkins -e MARATHON_APP_ID=/jenkins -e PORT0=5502 -e LIBPROCESS_IP=10.5.1.41 -e MESOS_SANDBOX=/mnt/mesos/sandbox -e MESOS_CONTAINER_NAME=mesos-84c9902f-01c5-4419-ae9a-8d3c69859a3e-S8.09924f88-d15e-40e7-80f5-b17175cc2362 -v /mnt/efs/jenkins:/var/jenkins_home:rw -v /opt/mesosphere:/opt/mesosphere:ro -v /var/lib/mesos/slave/slaves/84c9902f-01c5-4419-ae9a-8d3c69859a3e-S8/frameworks/84c9902f-01c5-4419-ae9a-8d3c69859a3e-0000/executors/jenkins.ded5c56c-8ccb-11e6-ae7c-ea67d46665b6/runs/09924f88-d15e-40e7-80f5-b17175cc2362:/mnt/mesos/sandbox --net host --name mesos-84c9902f-01c5-4419-ae9a-8d3c69859a3e-S8.09924f88-d15e-40e7-80f5-b17175cc2362 mesosphere/jenkins:2.0.1-2.7.4\nnginx: /opt/mesosphere/lib/libcrypto.so.1.0.0: no version information available (required by nginx)\nnginx: /opt/mesosphere/lib/libssl.so.1.0.0: no version information available (required by nginx)\nnginx: /opt/mesosphere/lib/libssl.so.1.0.0: no version information available (required by nginx)\nException in thread \"main\" java.lang.reflect.InvocationTargetException\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n    at java.lang.reflect.Method.invoke(Method.java:606)\n    at Main._main(Main.java:246)\n    at Main.main(Main.java:91)\nCaused by: java.lang.IllegalArgumentException: Multiple command line argument specified: -Dorg.apache.commons.jelly.tags.fmt.timeZone=America/Los_Angeles\"\n    at winstone.cmdline.CmdLineParser.parse(CmdLineParser.java:68)\n    at winstone.Launcher.getArgsFromCommandLine(Launcher.java:359)\n    at winstone.Launcher.main(Launcher.java:332)\n    ... 6 more\n```\n"},"comment":{"url":"https://api.github.com/repos/mesosphere/jenkins-dcos/issues/comments/261099919","html_url":"https://github.com/mesosphere/jenkins-dcos/pull/108#issuecomment-261099919","issue_url":"https://api.github.com/repos/mesosphere/jenkins-dcos/issues/108","id":261099919,"user":{"login":"colin-msphere","id":17014470,"avatar_url":"https://avatars.githubusercontent.com/u/17014470?v=3","gravatar_id":"","url":"https://api.github.com/users/colin-msphere","html_url":"https://github.com/colin-msphere","followers_url":"https://api.github.com/users/colin-msphere/followers","following_url":"https://api.github.com/users/colin-msphere/following{/other_user}","gists_url":"https://api.github.com/users/colin-msphere/gists{/gist_id}","starred_url":"https://api.github.com/users/colin-msphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colin-msphere/subscriptions","organizations_url":"https://api.github.com/users/colin-msphere/orgs","repos_url":"https://api.github.com/users/colin-msphere/repos","events_url":"https://api.github.com/users/colin-msphere/events{/privacy}","received_events_url":"https://api.github.com/users/colin-msphere/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T22:57:10Z","updated_at":"2016-11-16T22:57:10Z","body":"Please use `JVM_OPTS` for `-D` parameters."}}
{"actor":{"display_login":"colin-msphere"}}