Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-3971

Improve command interface to allow better variable substitution

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 2.3
    • 2.2.2
    • Builds, Infrastructure
    • None

      Currently the flow for variable substition is:
      1. Create Command Line Object
      2. Substitute Variables
      3. Recreate Command Line (kinda)

      Unfortunately by creating the command line object first we lose important information required for doing the variable substitution (specifically quotes get split out).

      It would be better if the builder itself did not create the command line object but just provided e.g the extecutable and the args (as strings). Which could get substituted and then processed into a command line.

      This will change interfaces plugins deal with so should be backwards compatible and documented...

            bmccoy bmccoy
            bmccoy bmccoy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: