How to execute a bash script in Jelly?
Pergunta
I would like to execute a bash script in postGoal
section of my maven.xml using Jelly. How can I do this?
Solução
I found it. You have to use jelly:ant
(I mapped it is as a
). Then just write:
<a:exec executable="/bin/bash">
<a:arg value="script_path"/>
<a:arg value="srcipt_args"/>
</a:exec>
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow