Looking for a way how to run the simple command in groovy (using in jenkins) with quotes inside.
My code is:
"grep 'text ' /tmp/test.txt".execute()
I want to grep all lines with text (and space after it).
But as a result I'm always getting grep of "text" only (without the space). Actually groovy for some reason drops my quotes.