@receiver(build_suite)
def add_selenium_tests(sender, suite, **kwargs):
    sel_suite = sender._get_seltests(sender.test_labels, **sender.build_suite_kwargs)
    suite.addTest(sel_suite)
Add the selenium test under Jenkins environment
dataset/ETHPy150Open dragoon/django-selenium/django_selenium/jenkins_runner.py/add_selenium_tests