Problems with Maven/Bitbucket/TESTNG Project

Hi I´m new to Jenkins and have no idea what i´m doing.
I´m not a programmer but need to understand why it does or does not work.
Actually i´m trying to construck something for using in future projects.

Here is my Problem:
In Eclipse all this works flawless but not in Jenkins
Jenkins is on my local win10 x64 PC.
Eclipse is on my local win10 x64 PC.
Maven is Installed and configured as follows:

  • default Maven settings
  • Variable Maven-Home = C:\Eclipse_Maven
    JDK:
    java_home = C:\Program Files\Amazon Corretto\jdk11.0.8_10

File:
JenkinsTest.java

Code
package main;

import java.awt.AWTException;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.edge.EdgeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.remote.BrowserType;
import org.testng.Reporter;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
import io.github.bonigarcia.wdm.WebDriverManager;


public class JenkinsTest {

	WebDriver driver;
	String browserName = BrowserType.FIREFOX;
	String baseUrl = "https://google.de/";

	/**
	 * This function will execute before each Test tag in testng.xml
	 * 
	 * @param browser
	 * @throws Exception
	 */
	@BeforeTest
	@Parameters("browser")
	public void setup(String browser) throws Exception {
		if (browser.equalsIgnoreCase("firefox")) {
			WebDriverManager.firefoxdriver().setup();
			driver = new FirefoxDriver();
			browserName = BrowserType.FIREFOX;
		} else if (browser.equalsIgnoreCase("chrome")) {
			WebDriverManager.chromedriver().setup();
			driver = new ChromeDriver();
			browserName = BrowserType.CHROME;
		} else if (browser.equalsIgnoreCase("Edge")) {
			WebDriverManager.edgedriver().setup();
			driver = new EdgeDriver();
			browserName = BrowserType.EDGE;
		} else {
			throw new Exception("Browser is not correct");
		}
		driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

	}

	@AfterTest
	public void tearDown() {
		driver.quit();

	}

	@Test

	public void jenkinstest() throws InterruptedException, AWTException  {
		Reporter.log("<h1>" + "Jenkins integrationstest mit Browser  " + browserName + "</h1><br>");
		driver.get(baseUrl);
		Reporter.log("URL Aufgerufen" + "<br>");
		driver.findElement(By.xpath("//div[.='Ich stimme zu']")).click();
		Reporter.log("Zustimmung zu Cookies erteilt" + "<br>");
		driver.findElement(By.xpath("//input[@name='q']")).click();
		Reporter.log("Ins Suchfeld geklickt" + "<br>");
		driver.findElement(By.xpath("//input[@name='q']")).sendKeys("Volksbank");
		Reporter.log("Im Suchfeld Volksbank eingegeben" + "<br>");
		driver.findElement(By.name("q")).sendKeys(Keys.RETURN);
		Reporter.log("Suche mit ENTER abgeschickt" + "<br>");
		Thread.sleep(5000);
		Reporter.log("5 Sekunden gewartet" + "<br>");

		Reporter.log("<b>" + "Jenkins integrationstest mit Browser " + browserName + " Ende" + "</b><br>");

	}
}


File:
pom.xml

Code
<project xmlns="http://maven.apache.org/POM/4.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>jenkins-integration</groupId>
	<artifactId>jenkins-integration</artifactId>
	<version>0.0.1-SNAPSHOT</version>

	<dependencies>

		<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
		<dependency>
			<groupId>org.seleniumhq.selenium</groupId>
			<artifactId>selenium-java</artifactId>
			<version>3.141.59</version>
		</dependency>

		<!-- https://mvnrepository.com/artifact/io.github.bonigarcia/webdrivermanager -->
		<dependency>
			<groupId>io.github.bonigarcia</groupId>
			<artifactId>webdrivermanager</artifactId>
			<version>4.4.3</version>
		</dependency>

		<!-- https://mvnrepository.com/artifact/org.testng/testng -->
		<dependency>
			<groupId>org.testng</groupId>
			<artifactId>testng</artifactId>
			<version>7.4.0</version>
			<scope>test</scope>
		</dependency>

		<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
			<version>1.7.32</version>
		</dependency>

		<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-simple -->
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-simple</artifactId>
			<version>1.7.32</version>
			<scope>test</scope>
		</dependency>
	</dependencies>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>3.0.0-M5</version>
				<configuration>
					<includes>
						<include>**/Test*.java</include>
						<include>**/*Test.java</include>
						<include>**/*Tests.java</include>
						<include>**/*TestCase.java</include>
					</includes>
					<failIfNoTests>true</failIfNoTests>
					<suiteXmlFiles>
						<suiteXmlFile>testng.xml</suiteXmlFile>
					</suiteXmlFiles>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.8.1</version>
			</plugin>
		</plugins>

	</build>
</project>

File:
testng.xml

Code
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite name="TestSuite" thread-count="1" parallel="tests">

	<test name="ChromeTest">
		<parameter name="browser" value="Chrome" />
		<classes>
			<class name="main.JenkinsTest"/>
		</classes>
	</test>
	<test name="FirefoxTest">
		<parameter name="browser" value="Firefox" />
		<classes>
			<class name="main.JenkinsTest"/>
		</classes>
	</test>
	<test name="EdgeTest">
		<parameter name="browser" value="Edge" />
		<classes>
			<class name="main.JenkinsTest"/>
		</classes>
	</test>
</suite>

File:
testng-results.xml

Log
<?xml version="1.0" encoding="UTF-8"?>
<testng-results ignored="0" total="3" passed="2" failed="1" skipped="0">
  <reporter-output>
    <line>
      <![CDATA[<h1>Jenkins integrationstest mit Browser  chrome</h1><br>]]>
    </line>
    <line>
      <![CDATA[URL Aufgerufen<br>]]>
    </line>
    <line>
      <![CDATA[Zustimmung zu Cookies erteilt<br>]]>
    </line>
    <line>
      <![CDATA[Ins Suchfeld geklickt<br>]]>
    </line>
    <line>
      <![CDATA[Im Suchfeld Volksbank eingegeben<br>]]>
    </line>
    <line>
      <![CDATA[Suche mit ENTER abgeschickt<br>]]>
    </line>
    <line>
      <![CDATA[5 Sekunden gewartet<br>]]>
    </line>
    <line>
      <![CDATA[<b>Jenkins integrationstest mit Browser chrome Ende</b><br>]]>
    </line>
    <line>
      <![CDATA[<h1>Jenkins integrationstest mit Browser  firefox</h1><br>]]>
    </line>
    <line>
      <![CDATA[URL Aufgerufen<br>]]>
    </line>
    <line>
      <![CDATA[Zustimmung zu Cookies erteilt<br>]]>
    </line>
    <line>
      <![CDATA[Ins Suchfeld geklickt<br>]]>
    </line>
    <line>
      <![CDATA[Im Suchfeld Volksbank eingegeben<br>]]>
    </line>
    <line>
      <![CDATA[Suche mit ENTER abgeschickt<br>]]>
    </line>
    <line>
      <![CDATA[5 Sekunden gewartet<br>]]>
    </line>
    <line>
      <![CDATA[<b>Jenkins integrationstest mit Browser firefox Ende</b><br>]]>
    </line>
    <line>
      <![CDATA[<h1>Jenkins integrationstest mit Browser  MicrosoftEdge</h1><br>]]>
    </line>
    <line>
      <![CDATA[URL Aufgerufen<br>]]>
    </line>
  </reporter-output>
  <suite started-at="2021-08-20T15:12:41 MESZ" name="TestSuite" finished-at="2021-08-20T15:13:19 MESZ" duration-ms="37840">
    <groups>
    </groups>
    <test started-at="2021-08-20T15:12:41 MESZ" name="ChromeTest" finished-at="2021-08-20T15:12:54 MESZ" duration-ms="12808">
      <class name="main.JenkinsTest">
        <test-method is-config="true" signature="setup(java.lang.String)[pri:0, instance:main.JenkinsTest@209da20d]" started-at="2021-08-20T15:12:41 MESZ" name="setup" finished-at="2021-08-20T15:12:45 MESZ" duration-ms="3563" status="PASS">
          <params>
            <param index="0">
              <value>
                <![CDATA[Chrome]]>
              </value>
            </param>
          </params>
          <reporter-output>
          </reporter-output>
        </test-method> <!-- setup -->
        <test-method signature="jenkinstest()[pri:0, instance:main.JenkinsTest@209da20d]" started-at="2021-08-20T15:12:45 MESZ" name="jenkinstest" finished-at="2021-08-20T15:12:53 MESZ" duration-ms="7820" status="PASS">
          <reporter-output>
            <line>
              <![CDATA[<h1>Jenkins integrationstest mit Browser  chrome</h1><br>]]>
            </line>
            <line>
              <![CDATA[URL Aufgerufen<br>]]>
            </line>
            <line>
              <![CDATA[Zustimmung zu Cookies erteilt<br>]]>
            </line>
            <line>
              <![CDATA[Ins Suchfeld geklickt<br>]]>
            </line>
            <line>
              <![CDATA[Im Suchfeld Volksbank eingegeben<br>]]>
            </line>
            <line>
              <![CDATA[Suche mit ENTER abgeschickt<br>]]>
            </line>
            <line>
              <![CDATA[5 Sekunden gewartet<br>]]>
            </line>
            <line>
              <![CDATA[<b>Jenkins integrationstest mit Browser chrome Ende</b><br>]]>
            </line>
          </reporter-output>
        </test-method> <!-- jenkinstest -->
        <test-method is-config="true" signature="tearDown()[pri:0, instance:main.JenkinsTest@209da20d]" started-at="2021-08-20T15:12:53 MESZ" name="tearDown" finished-at="2021-08-20T15:12:54 MESZ" duration-ms="1384" status="PASS">
          <reporter-output>
          </reporter-output>
        </test-method> <!-- tearDown -->
      </class> <!-- main.JenkinsTest -->
    </test> <!-- ChromeTest -->
    <test started-at="2021-08-20T15:12:54 MESZ" name="FirefoxTest" finished-at="2021-08-20T15:13:11 MESZ" duration-ms="16898">
      <class name="main.JenkinsTest">
        <test-method is-config="true" signature="setup(java.lang.String)[pri:0, instance:main.JenkinsTest@d9345cd]" started-at="2021-08-20T15:12:54 MESZ" name="setup" finished-at="2021-08-20T15:13:03 MESZ" duration-ms="8316" status="PASS">
          <params>
            <param index="0">
              <value>
                <![CDATA[Firefox]]>
              </value>
            </param>
          </params>
          <reporter-output>
          </reporter-output>
        </test-method> <!-- setup -->
        <test-method signature="jenkinstest()[pri:0, instance:main.JenkinsTest@d9345cd]" started-at="2021-08-20T15:13:03 MESZ" name="jenkinstest" finished-at="2021-08-20T15:13:10 MESZ" duration-ms="7621" status="PASS">
          <reporter-output>
            <line>
              <![CDATA[<h1>Jenkins integrationstest mit Browser  firefox</h1><br>]]>
            </line>
            <line>
              <![CDATA[URL Aufgerufen<br>]]>
            </line>
            <line>
              <![CDATA[Zustimmung zu Cookies erteilt<br>]]>
            </line>
            <line>
              <![CDATA[Ins Suchfeld geklickt<br>]]>
            </line>
            <line>
              <![CDATA[Im Suchfeld Volksbank eingegeben<br>]]>
            </line>
            <line>
              <![CDATA[Suche mit ENTER abgeschickt<br>]]>
            </line>
            <line>
              <![CDATA[5 Sekunden gewartet<br>]]>
            </line>
            <line>
              <![CDATA[<b>Jenkins integrationstest mit Browser firefox Ende</b><br>]]>
            </line>
          </reporter-output>
        </test-method> <!-- jenkinstest -->
        <test-method is-config="true" signature="tearDown()[pri:0, instance:main.JenkinsTest@d9345cd]" started-at="2021-08-20T15:13:10 MESZ" name="tearDown" finished-at="2021-08-20T15:13:11 MESZ" duration-ms="936" status="FAIL">
          <exception class="org.openqa.selenium.WebDriverException">
            <message>
              <![CDATA[Failed to decode response from marionette
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'BISCHOFF', ip: '192.168.0.22', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.8'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 91.0.1, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20210816143654, moz:geckodriverVersion: 0.29.0, moz:headless: false, moz:processID: 21340, moz:profile: C:\Users\mbischoff\AppData\..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: e2b32a71-f503-4bd7-9e9e-fa124a5284d3]]>
            </message>
            <full-stacktrace>
              <![CDATA[org.openqa.selenium.WebDriverException: Failed to decode response from marionette
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'BISCHOFF', ip: '192.168.0.22', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.8'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 91.0.1, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20210816143654, moz:geckodriverVersion: 0.29.0, moz:headless: false, moz:processID: 21340, moz:profile: C:\Users\mbischoff\AppData\..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: e2b32a71-f503-4bd7-9e9e-fa124a5284d3
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:609)
at org.openqa.selenium.remote.RemoteWebDriver.quit(RemoteWebDriver.java:452)
at main.JenkinsTest.tearDown(JenkinsTest.java:56)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:62)
at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:385)
at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:321)
at org.testng.TestRunner.invokeTestConfigurations(TestRunner.java:637)
at org.testng.TestRunner.afterRun(TestRunner.java:877)
at org.testng.TestRunner.run(TestRunner.java:599)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:377)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:28)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:418)
at org.testng.internal.thread.ThreadUtil.lambda$execute$0(ThreadUtil.java:64)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
]]>
            </full-stacktrace>
          </exception> <!-- org.openqa.selenium.WebDriverException -->
          <reporter-output>
          </reporter-output>
        </test-method> <!-- tearDown -->
      </class> <!-- main.JenkinsTest -->
    </test> <!-- FirefoxTest -->
    <test started-at="2021-08-20T15:13:11 MESZ" name="EdgeTest" finished-at="2021-08-20T15:13:19 MESZ" duration-ms="8084">
      <class name="main.JenkinsTest">
        <test-method is-config="true" signature="setup(java.lang.String)[pri:0, instance:main.JenkinsTest@6bd61f98]" started-at="2021-08-20T15:13:11 MESZ" name="setup" finished-at="2021-08-20T15:13:14 MESZ" duration-ms="2425" status="PASS">
          <params>
            <param index="0">
              <value>
                <![CDATA[Edge]]>
              </value>
            </param>
          </params>
          <reporter-output>
          </reporter-output>
        </test-method> <!-- setup -->
        <test-method signature="jenkinstest()[pri:0, instance:main.JenkinsTest@6bd61f98]" started-at="2021-08-20T15:13:14 MESZ" name="jenkinstest" finished-at="2021-08-20T15:13:19 MESZ" duration-ms="5088" status="FAIL">
          <exception class="org.openqa.selenium.WebDriverException">
            <message>
              <![CDATA[chrome not reachable
  (Session info: MicrosoftEdge=92.0.902.73)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'BISCHOFF', ip: '192.168.0.22', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.8'
Driver info: org.openqa.selenium.edge.EdgeDriver
Capabilities {acceptInsecureCerts: false, browserName: msedge, browserVersion: 92.0.902.73, javascriptEnabled: true, ms:edgeOptions: {debuggerAddress: localhost:58539}, msedge: {msedgedriverVersion: 92.0.902.78 (cf138c12fbef5d..., userDataDir: C:\Users\MBISCH~1\AppData\L...}, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
Session ID: a9e42bf97b250c810176224256559685
*** Element info: {Using=xpath, value=//div[.='Ich stimme zu']}]]>
            </message>
            <full-stacktrace>
              <![CDATA[org.openqa.selenium.WebDriverException: chrome not reachable
  (Session info: MicrosoftEdge=92.0.902.73)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'BISCHOFF', ip: '192.168.0.22', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.8'
Driver info: org.openqa.selenium.edge.EdgeDriver
Capabilities {acceptInsecureCerts: false, browserName: msedge, browserVersion: 92.0.902.73, javascriptEnabled: true, ms:edgeOptions: {debuggerAddress: localhost:58539}, msedge: {msedgedriverVersion: 92.0.902.78 (cf138c12fbef5d..., userDataDir: C:\Users\MBISCH~1\AppData\L...}, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
Session ID: a9e42bf97b250c810176224256559685
*** Element info: {Using=xpath, value=//div[.='Ich stimme zu']}
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:428)
at org.openqa.selenium.By$ByXPath.findElement(By.java:353)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at main.JenkinsTest.jenkinstest(JenkinsTest.java:66)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at org.testng.TestRunner.privateRun(TestRunner.java:794)
at org.testng.TestRunner.run(TestRunner.java:596)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:377)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:28)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:418)
at org.testng.internal.thread.ThreadUtil.lambda$execute$0(ThreadUtil.java:64)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
]]>
            </full-stacktrace>
          </exception> <!-- org.openqa.selenium.WebDriverException -->
          <reporter-output>
            <line>
              <![CDATA[<h1>Jenkins integrationstest mit Browser  MicrosoftEdge</h1><br>]]>
            </line>
            <line>
              <![CDATA[URL Aufgerufen<br>]]>
            </line>
          </reporter-output>
        </test-method> <!-- jenkinstest -->
        <test-method is-config="true" signature="tearDown()[pri:0, instance:main.JenkinsTest@6bd61f98]" started-at="2021-08-20T15:13:19 MESZ" name="tearDown" finished-at="2021-08-20T15:13:19 MESZ" duration-ms="567" status="PASS">
          <reporter-output>
          </reporter-output>
        </test-method> <!-- tearDown -->
      </class> <!-- main.JenkinsTest -->
    </test> <!-- EdgeTest -->
  </suite> <!-- TestSuite -->
</testng-results>

Do you have any ideas?