Grails builder always append "-non-interactive" to commands
Symptoms
When running command grails schema-export file_name
Bamboo creates a file with name "-non-interactive".
This can also happen with other commands that would not behave well having -non-interactive
appended to their end.
Cause
If not provided at the Grails commands, Bamboo will always append "-non-interactive" to the end of commands, without distinguishing if the command can receive this option at the end of the line.
Resolution
Before appending the option to commands, Bamboo checks if it was already provided. If so it does not append it. Therefore, the workaround would be to provide option "-non-interactive" with the Grails commands at the correct position. Example:
grails schema-export -non-interactive file_name
Improvement Request BAM-8020 tracks the implementation of an UI setting to make the "-non-interactive" command optional.