How can I run multiple bash scripts using this plugin independently from each other?
Issue #3
new
The idea is to create multiple maven configurations in my IDE for executing different bash scripts in the given project environment. Is it possible to do so?
<executions>
<execution>
<id>test</id>
<phase>integration-test</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<configuration>
<script>
COOK="Ducasse"
echo "The best cook is: $COOK"
echo "${example.one}"
exit 1
</script>
<script> ... </script>
</configuration>
Thanks Jawa
Comments (4)
-
-
reporter Hi Adrien,
Thanks for answering. I have not yet tried it, but will try it and let you know soon.
Jawa
-
reporter Hi Adrien, excellent it works! Thanks a lot!
-
Great Sahil! Your answer will certainly be helpful to other people.
Dear Atlassian people, I'm only a viewer on this project, so I can't close this issue. Feel free to close it. Alternatively, feel free to add me as an administrator if it's compatible with your permission policy. Kind regards, Adrien
- Log in to comment
Hi Jawa,
Have you tried putting the <configuration> tag inside the <execution> one? So you can have a different configuration for each execution. It's shown in the Maven documentation, so I'm hoping this would work.