Suppose I run a jar in Gitlab CI to check if it fails or runs.
script:
- java -jar someJar.jar
More Tasks below
This runs a java application which runs infinitely by nature. I need to stop this application programmatically equivalent to Ctrl + C
or some bash timeout.
Any help is much appreciated