Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67724

Debian package fails to start when JAVA_ARGS contains spaces

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';"
      

            basil Basil Crow
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: