Hi there,
a newbie question,
how to manage redirections on a task?
I think the problem lies on quoting the command.
I have this to setup my test enviroment
task setupDBTest(type:Exec, description: 'Setting up test database') {
workingDir 'docs/'
commandLine 'mysql', '-udbuser', '-pdbuser < dbTest.sql'
}
but I am unable to make it run
any help is welcome
regards,
Marcelo