Send a new line in a comment to Conduit API from Jenkins



I have a Jenkins build and would like to get a Phabricator comment when some steps occur. That is already happening. However I can’t sent a new line in the message.

Jenkins build invokes a Jenkins trigger that call a command line shell with:

curl -d api.token="api.token" -d revision_id=$PHABRICATOR_ID -d message="$MESSAGE"

Where $PHABRICATOR_ID and $MESSAGE are strings defined in the Jenkins build.

How can I add new line in the message variable?

\n and <br> have no effect.

Wrongly closed question

This is the same question as and has the same answer.