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

Allow multiple initScript instead of a single string


    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ec2-plugin

      JCASC allow us to provisionned an init script for EC2 cloud template.

      However, when using the merging strategy with JCASC, we can't append content inside the `initScript` stanza, which is normal.

      I think it would be nice to refactor the init script from a string to a map of init script, that can be merge in alphabetical, this will allow use to append and/or override some scripts

      Here is an example:

        00-base: |
          apt install java
        10-addon: |
          apt install my-super-required-package

            thoulen FABRIZIO MANFREDI
            quentin_anuvu Quentin
            0 Vote for this issue
            1 Start watching this issue