jenkins-xml-to-jobdsl.rb
# 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 formatText str
    if str =~ /false|true/
      truthy str
    else
      "'#{str}'"
    end
  end
def formatText str if str =~ / false|true / truthy str else "'#{str}'" end end
Escape Strings that are not valid groovy syntax.
Escape Strings that are not valid groovy syntax .
str