We have a test field to enter a change long for building with Jenkins + Gradle Plugin.
If our CHANGELOG text parameter contains newlines then this causes the build to fail:
FAILURE: Could not determine which tasks to execute.
I wasn't able to post the full output here. But suffice it to say that the newlines cause the gradle or the gradle plugin to be unable to parse the other parameters properly.