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

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

    Details

    • Similar Issues:

      Description

      The following script cannot be round-tripped

      Unable to find source-code formatter for language: groovy. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
      pipeline {
          agent none
          stages {
              stage("foo") {
                  echo '''Hello!
      'How are you?', said script A
      
      "I am fine \'\'\'really\'\'\'" said script B
      
      '''
                  sh 'echo "\'quoted\'"'
              }
          }
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                stephenconnolly Stephen Connolly
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: