Converting double quoted values in scripts as 'isLiteral'

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Given this pipeline:

      pipeline {
        agent any
        stages {
          stage('Build') {
            steps {
              echo "hello"
            }
          }
        }
      }
      

      Converting to JSON results in the script argument incorrectly labeled as isLiteral: true

      {"status":"ok","data":{"result":"success","json":{"pipeline":{"stages":[{"name":"Build","branches":[{"name":"default","steps":[{"name":"echo","arguments":[{"key":"message","value":{"isLiteral":true,"value":"hello"}}]}]}]}],"agent":{"type":"any"}}}}}
      

            Assignee:
            Andrew Bayer
            Reporter:
            Keith Zantow
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: