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

Debian package fails to start when JAVA_ARGS contains spaces

    XMLWordPrintable

Details

    • 2.334

    Description

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

      Attachments

        Issue Links

          Activity

            basil Basil Crow created issue -
            basil Basil Crow made changes -
            Field Original Value New Value
            Labels regression
            basil Basil Crow made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            basil Basil Crow made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            basil Basil Crow made changes -
            Remote Link This issue links to "jenkinsci/packaging#278 (Web Link)" [ 27381 ]
            basil Basil Crow made changes -
            Released As 2.334
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Fixed but Unreleased [ 10203 ]
            cchan Cathy made changes -
            Labels regression lts-candidate regression
            cchan Cathy made changes -
            Labels lts-candidate regression regression
            basil Basil Crow made changes -
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: