I'm finalizing my pipeline on bitbucket and I'm having a problem initializing my war package.
I am starting my application through the "su root ./pacote.war" command via .sh script.
It starts successfully but the pipeline command does not understand that it has already finished the script and does not exit the deploy activity.
Do you have any tips to indicate that deploy has finished or some other command / parameter to use to initialize the application?