0

I have my jenkins build configured at my slave machine to execute my selenium tests. When I abort the jenkins build during execution, jenkins is not stopping the execution. ChromeDriver is still running for further tests.

Is there any way to stop jenkins execution while build is running?

I have seen some pages related to this question. Selenium driver instance persists if test is aborted on Jenkins ChromeDriver instance not getting deleted when Jenkins is Aborted https://issues.jenkins.io/browse/JENKINS-60161?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel

1 Answers1

0

May be you have stuck chrome driver instances. You can kill them with additional command.

Alex Karamfilov
  • 634
  • 1
  • 6
  • 12
  • I am killing them using taskmanager for now, but still one more ChromeDriver.exe is starting up. I guess Jenkins still executes pending test cases even after I abort build. – PleasePlease Dec 06 '22 at 11:17