Installed Jenkins by normal user. Set this command into the Execute shell
of one job.
echo MY_REPORT=$(echo "http://my_domain/report-$DATE.html") > var.properties
Got error:
/tmp/jenkins5755572201144086950.sh: line 9: var.properties: Permission denied
If sudo to jenkins user, it can been ran with that command. But how to change normal user to jenkins user when Jenkins running in Execute shell
?