I've created mysqldump as a command and am passing the following arguments:
-h ${bamboo.dbhostname} -P ${bamboo.dbport} -u ${bamboo.dbusername} -p${bamboo.dbpassword} schema > schema.sql
While this works perfectly via command line, when run from Bamboo, the build log reports:
mysqldump: Couldn't find table: >
I've tried piping to cat then redirecting but then it reports:
mysqldump: Couldn't find table: |
Should I be escaping the redirect in some way?