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

Allow setting of system properties from context.xml in addition to setting from command line

      Issue for https://github.com/jenkinsci/jenkins/pull/1914

      Goals:

      • Allow the specification of system properties in context.xml in addition to in environment variables
      • Avoid having to edit tomcat's systemd.service file to run Jenkins with flags.
      • Avoid having to restart app server if flags are changed in context.xml.
      • Makes it easier for Jenkins to coexist with other apps on the same app server.
      • Centralize parsing of system properties:
        • over time, consistent error reporting can be implemented for malformed system properties. Right now, that code is all over the place (e.g. what is and isn't true or false in boolean values is implemented differently)
        • access to system properties is now logged, which helps with debugging setups

          [JENKINS-34755] Allow setting of system properties from context.xml in addition to setting from command line

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Daniel Beck made changes -
          Description Original: Issue for https://github.com/jenkinsci/jenkins/pull/1914

          Goals:

          * Allow the specification of system properties in context.xml in addition to in environment variables
          * Avoid having to edit tomcat's systemd.service file to run Jenkins with flags.
          * Avoid having to restart app server if flags are changed in context.xml.
          * Makes it easier for Jenkins to coexist with other apps on the same app server.
          * Centralize parsing of system properties:
          * over time, consistent error reporting can be implemented for malformed system properties. Right now, that code is all over the place (e.g. what is and isn't true or false in boolean values is implemented differently)
          * access to system properties is now logged, which helps with debugging setups
          New: Issue for https://github.com/jenkinsci/jenkins/pull/1914

          Goals:

          * Allow the specification of system properties in context.xml in addition to in environment variables
          * Avoid having to edit tomcat's systemd.service file to run Jenkins with flags.
          * Avoid having to restart app server if flags are changed in context.xml.
          * Makes it easier for Jenkins to coexist with other apps on the same app server.
          * Centralize parsing of system properties:
          ** over time, consistent error reporting can be implemented for malformed system properties. Right now, that code is all over the place (e.g. what is and isn't true or false in boolean values is implemented differently)
          ** access to system properties is now logged, which helps with debugging setups
          Oleg Nenashev made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Oleg Nenashev made changes -
          Link New: This issue is related to JENKINS-34854 [ JENKINS-34854 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 170937 ] New: JNJira + In-Review [ 198989 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            oleg_nenashev Oleg Nenashev
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: