jenkins-xml-to-jobdsl.rb
def toGroovyListOfStrings str
    str.split.map do |s|
      "'#{s}'"
    end.join ', '
  end
# Escape Strings that are not valid groovy syntax.
Escape Strings that are not valid groovy syntax.
Escape Strings that are not valid groovy syntax .
def toGroovyListOfStrings str
    str.split.map do |s|
      "'#{s}'"
    end.join ', '
  end
def toGroovyListOfStrings str str . split . map do | s | "'#{s}'" end . join ', ' end
Escape Strings that are not valid groovy syntax.
Escape Strings that are not valid groovy syntax .
str