String constants containing characters than need escaping are not round-tripped correctly

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

XMLWordPrintable

      The following script cannot be round-tripped

      pipeline {
          agent none
          stages {
              stage("foo") {
                  echo '''Hello!
      'How are you?', said script A
      
      "I am fine \'\'\'really\'\'\'" said script B
      
      '''
                  sh 'echo "\'quoted\'"'
              }
          }
      }
      

            Assignee:
            Andrew Bayer
            Reporter:
            Stephen Connolly
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: