Debian package fails to start when JAVA_ARGS contains spaces

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • 2.334

      If /etc/default/jenkins contains something like

      JAVA_ARGS="-Djava.awt.headless=true -Dhudson.model.DirectoryBrowserSupport.CSP=\"sandbox; default-src 'self';\""
      

      then as of 2.333 startup will fail with:

      $ cat /var/log/jenkins/jenkins.log 
      Error: Could not find or load main class 'self';"
      Caused by: java.lang.ClassNotFoundException: 'self';"
      

            Assignee:
            Basil Crow
            Reporter:
            Basil Crow
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: