I have an execute shell in Jenkins:
export MYVAR
MYVAR=echo $JiraReleaseNotes | sed 's/\[/<br>\[/g'
echo MYVAR=$MYVAR >> ./AndroidStable/App/config.properties
What I'm trying to do is replace all "[" values with "[br>" at $JiraReleaseNotes and set them to MYVAR and then copy the content to config.properties file.
But I get an error in second line:
Relase: command not found
Which Relase is the first word in $JiraReleaseNotes, why it thinks it is a command?