Job handling in CI step

Hello everyone,

I am meeting some issues with the CI step on my project. I don’t know if the problem could be resolve on the Gitlab side or on the way of running jobs. Here is my problem, which I am facing:
I have a CI runner (on a windows computer) that could run parallel jobs. It works well but the job A needs to stop job B.
For the moment, the job A uses the command “taskkill” for killing the process runned by the job B. The problem is that Gitlab detects this kill of process like an error and thus does not run the other steps of CI.
I made many researches to find a workaround without success for the moment but perhaps the Gitlab community could help me.

Best regards