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

readYaml does not read separated nested variables

      The pipeline step "readYaml" is currently unable to read nested properties that are splitted to different parts of the file, such as :

      context:

        my:

          variable: value

      context: {{  }}

        a:{{    }}

          second-variable: value2

      The workaround is to factorize these nested variables under their common root like this :

      context: {{  }}

        my:   {{    }}

          variable: value{{  }}

      {{  a: }}

          second-variable: value2

      However the first syntax is a correct Yaml syntax and should be supported by the parser

          [JENKINS-45619] readYaml does not read separated nested variables

          There are no comments yet on this issue.

            rsandell rsandell
            pommedouze Olivier Revial
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: