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

readYaml does not read inlined variables

XMLWordPrintable

      The pipeline step "readYaml" is currently unable to read inlined properties such as :

      context.my.variable: value

      The workaround is to split the variable on multiple lines like this :

      context:{{  }}

        my:{{    }}

          variable: value

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

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

              Created:
              Updated: