after_script for job not termined shell script
Version used 12.2.3 CE
I use GitLab CI/CD with gitlab runner 11.11.2 on linux. I need to run shell scripts in "after_script:" for a job. It executes the command "mvn versions: display-dependency-updates". This command does not complete its execution and goes to the next job. No error message displayed. If I put this command in "script:", it works.
The problem is that I can not use that in "script:" because I use a template that enriches the script defined by the project calling by "after_script:". Could you correct it ?
Thank you.