First pipline jenkins (error in kubernetes)

Started by user unknown or anonymous [Pipeline] Start of Pipeline (hide) [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/test [Pipeline] { [Pipeline] stage [Pipeline] { (git version) [Pipeline] sh + git version git version 2.17.1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (maven version) [Pipeline] sh + mvn -v e[1mApache Maven 3.6.0e[m Maven home: /usr/share/maven Java version: 11.0.19, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: “linux”, version: “5.4.0-1109-azure”, arch: “amd64”, family: “unix” [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (docker version) [Pipeline] sh + docker -v Docker version 20.10.21, build 20.10.21-0ubuntu1~18.04.3 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (kubernetes version) [Pipeline] withKubeConfig [Pipeline] // withKubeConfig [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: An error has occurred. Finished: FAILURE

Did you look at your own post? How are we to make any sense of what you have pasted? Please use a codeblock </> to format the output nicely.

Also it looks like you have pasted the output of your Jenkins job - also post the contents of the pipeline so we can understand what was meant to happen.