How can I write a bash-function that finds a specific parent directory. Here's my setup:
The app-server used for devs is located at:
I'd like to have a bash function that goes up recursively to the branch's root to quickly copy compiled modules to the appserver, run/stop the appserver, call specific maven goals etc.
Any ideas? Each branch has a maven pom.xml which contains exact information about the version