Pipeline was running fine and now it has stopped working

My pipeline job was working fine and suddenly it has stopped working. Whenever I click on “Build with Parameters” and choose the branch, it just stops and says:

Started by user admin
[Pipeline] Start of Pipeline [Pipeline]
End of Pipeline
ERROR: d1714f34-4523-41d1-9b75-0bbd734e7cdc
Finished: FAILURE

this is what it says:
No data available. This Pipeline has not yet run.

In the Jenkins log (from “Manage Jenkins” → “System log” → “All Jenkins Logs”) you should be able to find that identifier and a stack trace that is associated with it. Others are more likely to be able to help if you share that stack trace.

Hi Mark. Now I upgraded and this is now what i am seeing in the server:

● jenkins.service - Jenkins Continuous Integration Server
Loaded: loaded (/lib/systemd/system/jenkins.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/jenkins.service.d
└─override.conf
Active: failed (Result: exit-code) since Mon 2024-11-18 15:35:19 UTC; 1min 2s ago
Process: 2543 ExecStart=/usr/bin/jenkins (code=exited, status=1/FAILURE)
Main PID: 2543 (code=exited, status=1/FAILURE)

Nov 18 15:35:19 Jenkin-Final systemd[1]: jenkins.service: Scheduled restart job, restart counter is at 5.
Nov 18 15:35:19 Jenkin-Final systemd[1]: Stopped Jenkins Continuous Integration Server.
Nov 18 15:35:19 Jenkin-Final systemd[1]: jenkins.service: Start request repeated too quickly.
Nov 18 15:35:19 Jenkin-Final systemd[1]: jenkins.service: Failed with result ‘exit-code’.
Nov 18 15:35:19 Jenkin-Final systemd[1]: Failed to start Jenkins Continuous Integration Server.

The Jenkins documentation on managing systemd services says:

Logs for the Jenkins service can be read with the command:

journalctl -u jenkins

Those logs will usually tell you the changes that you need to make. If they are not clear enough, refer to managing systemd services for more details

Nov 18, 2024 4:54:18 PM INFO hudson.WebAppMain contextInitialized
Jenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
Nov 18, 2024 4:54:18 PM INFO org.eclipse.jetty.server.handler.ContextHandler doStart
Started w.@76318a7d{Jenkins v2.462.3,/,file:///var/cache/jenkins/war/,AVAILABLE}{/var/cache/jenkins/war}
Nov 18, 2024 4:54:18 PM INFO org.eclipse.jetty.server.AbstractConnector doStart
Started ServerConnector@12405818{HTTP/1.1, (http/1.1)}{0.0.0.0:8081}
Nov 18, 2024 4:54:18 PM INFO org.eclipse.jetty.server.Server doStart
Started Server@1a38c59b{STARTING}[10.0.24,sto=0] @1397ms
Nov 18, 2024 4:54:18 PM INFO winstone.Logger logInternal
Winstone Servlet Engine running: controlPort=disabled
Nov 18, 2024 4:54:18 PM INFO jenkins.InitReactorRunner$1 onAttained
Started initialization
Nov 18, 2024 4:54:18 PM INFO jenkins.InitReactorRunner$1 onAttained
Listed all plugins
Nov 18, 2024 4:54:22 PM INFO jenkins.InitReactorRunner$1 onAttained
Prepared all plugins
Nov 18, 2024 4:54:22 PM INFO jenkins.InitReactorRunner$1 onAttained
Started all plugins
Nov 18, 2024 4:54:22 PM INFO jenkins.InitReactorRunner$1 onAttained
Augmented all extensions
Nov 18, 2024 4:54:22 PM INFO hudson.plugins.build_timeout.global.GlobalTimeOutConfiguration load
global timeout not set
Nov 18, 2024 4:54:23 PM WARNING org.jenkinsci.plugins.dockerbuildstep.DockerBuilder$DescriptorImpl 
Docker URL is not set, docker client won't be initialized
Nov 18, 2024 4:54:24 PM INFO jenkins.InitReactorRunner$1 onAttained
System config loaded
Nov 18, 2024 4:54:24 PM INFO jenkins.InitReactorRunner$1 onAttained
System config adapted
Nov 18, 2024 4:54:24 PM WARNING io.fabric8.kubernetes.client.Config getExecCredentialFromExecConfig
sh: 1: oci: not found

Nov 18, 2024 4:54:24 PM WARNING io.fabric8.kubernetes.client.Config getExecCredentialFromExecConfig
Error unmarshalling ExecCredential
mapping values are not allowed here
 in reader, line 1, column 6:
    sh: 1: oci: not found
         ^

	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.scanner.ScannerImpl.fetchValue(ScannerImpl.java:839)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:362)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.scanner.ScannerImpl.checkToken(ScannerImpl.java:192)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:711)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.parser.ParserImpl.lambda$produce$1(ParserImpl.java:232)
	at java.base/java.util.Optional.ifPresent(Optional.java:178)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.parser.ParserImpl.produce(ParserImpl.java:232)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.parser.ParserImpl.peekEvent(ParserImpl.java:206)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.comments.CommentEventsCollector$1.peek(CommentEventsCollector.java:57)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.comments.CommentEventsCollector$1.peek(CommentEventsCollector.java:43)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.comments.CommentEventsCollector.collectEvents(CommentEventsCollector.java:135)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.comments.CommentEventsCollector.collectEvents(CommentEventsCollector.java:115)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.composer.Composer.composeScalarNode(Composer.java:244)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.composer.Composer.composeNode(Composer.java:206)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.composer.Composer.composeValueNode(Composer.java:364)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.composer.Composer.composeMappingChildren(Composer.java:343)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.composer.Composer.composeMappingNode(Composer.java:321)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.composer.Composer.composeNode(Composer.java:210)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.composer.Composer.next(Composer.java:162)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.api.Load$YamlIterator.next(Load.java:234)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.utils.KubernetesSerialization.parseYaml(KubernetesSerialization.java:271)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.utils.KubernetesSerialization.unmarshal(KubernetesSerialization.java:252)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.utils.KubernetesSerialization.unmarshal(KubernetesSerialization.java:342)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.utils.KubernetesSerialization.unmarshal(KubernetesSerialization.java:327)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.utils.Serialization.unmarshal(Serialization.java:185)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.getExecCredentialFromExecConfig(Config.java:827)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.mergeKubeConfigExecCredential(Config.java:787)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.mergeKubeConfigAuthInfo(Config.java:766)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.mergeKubeConfigContents(Config.java:736)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.loadFromKubeconfig(Config.java:710)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.tryKubeConfig(Config.java:672)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.autoConfigure(Config.java:292)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.<init>(Config.java:257)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.<init>(Config.java:248)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.ConfigBuilder.<init>(ConfigBuilder.java:6)
	at PluginClassLoader for kubernetes-credentials-provider//com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.KubernetesCredentialProvider.getKubernetesClient(KubernetesCredentialProvider.java:98)
	at PluginClassLoader for kubernetes-credentials-provider//com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.KubernetesCredentialProvider.startWatchingForSecrets(KubernetesCredentialProvider.java:115)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:109)
	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:185)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
	at jenkins.model.Jenkins$5.runTask(Jenkins.java:1175)
	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)

Nov 18, 2024 4:54:24 PM INFO jenkins.InitReactorRunner$1 onAttained
Loaded all jobs
Nov 18, 2024 4:54:24 PM INFO jenkins.InitReactorRunner$1 onAttained
Configuration for all jobs updated
Nov 18, 2024 4:54:24 PM INFO com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.KubernetesCredentialProvider startWatchingForSecrets
retrieving secrets with selector: jenkins.io/credentials-type, LabelSelector(matchExpressions=[], matchLabels={}, additionalProperties={})
Nov 18, 2024 4:54:24 PM WARNING io.fabric8.kubernetes.client.Config getExecCredentialFromExecConfig
sh: 1: oci: not found

Nov 18, 2024 4:54:24 PM WARNING io.fabric8.kubernetes.client.Config getExecCredentialFromExecConfig
Error unmarshalling ExecCredential
mapping values are not allowed here
 in reader, line 1, column 6:
    sh: 1: oci: not found
         ^

	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.scanner.ScannerImpl.fetchValue(ScannerImpl.java:839)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:362)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.scanner.ScannerImpl.checkToken(ScannerImpl.java:192)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:711)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.parser.ParserImpl.lambda$produce$1(ParserImpl.java:232)
	at java.base/java.util.Optional.ifPresent(Optional.java:178)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.parser.ParserImpl.produce(ParserImpl.java:232)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.parser.ParserImpl.peekEvent(ParserImpl.java:206)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.comments.CommentEventsCollector$1.peek(CommentEventsCollector.java:57)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.comments.CommentEventsCollector$1.peek(CommentEventsCollector.java:43)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.comments.CommentEventsCollector.collectEvents(CommentEventsCollector.java:135)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.comments.CommentEventsCollector.collectEvents(CommentEventsCollector.java:115)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.composer.Composer.composeScalarNode(Composer.java:244)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.composer.Composer.composeNode(Composer.java:206)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.composer.Composer.composeValueNode(Composer.java:364)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.composer.Composer.composeMappingChildren(Composer.java:343)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.composer.Composer.composeMappingNode(Composer.java:321)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.composer.Composer.composeNode(Composer.java:210)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.composer.Composer.next(Composer.java:162)
	at PluginClassLoader for kubernetes-client-api//org.snakeyaml.engine.v2.api.Load$YamlIterator.next(Load.java:234)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.utils.KubernetesSerialization.parseYaml(KubernetesSerialization.java:271)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.utils.KubernetesSerialization.unmarshal(KubernetesSerialization.java:252)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.utils.KubernetesSerialization.unmarshal(KubernetesSerialization.java:342)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.utils.KubernetesSerialization.unmarshal(KubernetesSerialization.java:327)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.utils.Serialization.unmarshal(Serialization.java:185)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.getExecCredentialFromExecConfig(Config.java:827)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.mergeKubeConfigExecCredential(Config.java:787)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.mergeKubeConfigAuthInfo(Config.java:766)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.mergeKubeConfigContents(Config.java:736)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.loadFromKubeconfig(Config.java:710)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.tryKubeConfig(Config.java:672)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.autoConfigure(Config.java:292)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.autoConfigure(Config.java:288)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.Config.refresh(Config.java:643)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.utils.TokenRefreshInterceptor.refreshToken(TokenRefreshInterceptor.java:123)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.utils.TokenRefreshInterceptor.afterFailure(TokenRefreshInterceptor.java:108)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.http.Interceptor.afterFailure(Interceptor.java:85)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.http.StandardHttpClient.lambda$consumeBytesOnce$9(StandardHttpClient.java:118)
	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2147)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.okhttp.OkHttpClientImpl$1.onResponse(OkHttpClientImpl.java:312)
	at PluginClassLoader for okhttp-api//okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)

Nov 18, 2024 4:54:24 PM SEVERE com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.KubernetesCredentialProvider startWatchingForSecrets
Failed to initialise k8s secret provider, secrets from Kubernetes will not be available
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://10.104.2.44:6443/api/v1/secrets?labelSelector=jenkins.io%2Fcredentials-type. Message: Unauthorized. Received status: Status(apiVersion=v1, code=401, details=null, kind=Status, message=Unauthorized, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Unauthorized, status=Failure, additionalProperties={}).
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.OperationSupport.requestFailure(OperationSupport.java:660)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.OperationSupport.requestFailure(OperationSupport.java:640)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.OperationSupport.assertResponseCode(OperationSupport.java:589)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.OperationSupport.lambda$handleResponse$0(OperationSupport.java:549)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2147)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.http.StandardHttpClient.lambda$completeOrCancel$10(StandardHttpClient.java:143)
	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863)
	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2147)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.http.ByteArrayBodyHandler.onBodyDone(ByteArrayBodyHandler.java:52)
	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863)
	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2147)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.okhttp.OkHttpClientImpl$OkHttpAsyncBody.doConsume(OkHttpClientImpl.java:137)
Caused: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://10.104.2.44:6443/api/v1/secrets?labelSelector=jenkins.io%2Fcredentials-type. Message: Unauthorized. Received status: Status(apiVersion=v1, code=401, details=null, kind=Status, message=Unauthorized, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Unauthorized, status=Failure, additionalProperties={}).
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.KubernetesClientException.copyAsCause(KubernetesClientException.java:238)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.OperationSupport.waitForResult(OperationSupport.java:507)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.BaseOperation.list(BaseOperation.java:450)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.BaseOperation.list(BaseOperation.java:418)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.BaseOperation.list(BaseOperation.java:97)
	at PluginClassLoader for kubernetes-credentials-provider//com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.KubernetesCredentialProvider.startWatchingForSecrets(KubernetesCredentialProvider.java:122)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:109)
	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:185)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
	at jenkins.model.Jenkins$5.runTask(Jenkins.java:1175)
	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)

Nov 18, 2024 4:54:24 PM INFO com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.KubernetesCredentialProvider reconnectLater
Attempting to reconnect Kubernetes client in 5 mins
Nov 18, 2024 4:54:24 PM INFO jenkins.InitReactorRunner$1 onAttained
Completed initialization
Nov 18, 2024 4:54:24 PM INFO hudson.lifecycle.Lifecycle onReady
Jenkins is fully up and running
Nov 18, 2024 4:55:48 PM WARNING jenkins.util.Listeners lambda$notify$0
null
java.lang.IncompatibleClassChangeError: com.fasterxml.jackson.databind.PropertyNamingStrategy and com.fasterxml.jackson.databind.PropertyNamingStrategy$LowerCaseWithUnderscoresStrategy disagree on InnerClasses attribute
	at java.base/java.lang.Class.getDeclaringClass0(Native Method)
	at java.base/java.lang.Class.isTopLevelClass(Class.java:1805)
	at java.base/java.lang.Class.getSimpleBinaryName(Class.java:1790)
	at java.base/java.lang.Class.getSimpleName0(Class.java:1662)
	at java.base/java.lang.Class.getSimpleName(Class.java:1653)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.PropertyNamingStrategy$PropertyNamingStrategyBase.<init>(PropertyNamingStrategy.java:205)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.PropertyNamingStrategy$PropertyNamingStrategyBase.<init>(PropertyNamingStrategy.java:199)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.PropertyNamingStrategy$SnakeCaseStrategy.<init>(PropertyNamingStrategy.java:296)
	at PluginClassLoader for kubernetes-pipeline-devops-steps//com.fasterxml.jackson.databind.PropertyNamingStrategy$LowerCaseWithUnderscoresStrategy.<init>(PropertyNamingStrategy.java:422)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.util.ClassUtil.createInstance(ClassUtil.java:564)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector._findNamingStrategy(POJOPropertiesCollector.java:1496)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.collectAll(POJOPropertiesCollector.java:511)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.getJsonValueAccessor(POJOPropertiesCollector.java:294)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.introspect.BasicBeanDescription.findJsonValueAccessor(BasicBeanDescription.java:258)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.ser.BasicSerializerFactory.findSerializerByAnnotations(BasicSerializerFactory.java:393)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.ser.BeanSerializerFactory._createSerializer2(BeanSerializerFactory.java:225)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:174)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.SerializerProvider._createUntypedSerializer(SerializerProvider.java:1525)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.SerializerProvider._createAndCacheUntypedSerializer(SerializerProvider.java:1473)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.SerializerProvider.findValueSerializer(SerializerProvider.java:578)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.SerializerProvider.findTypedValueSerializer(SerializerProvider.java:856)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:330)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.ObjectMapper._writeValueAndClose(ObjectMapper.java:4799)
	at PluginClassLoader for jackson2-api//com.fasterxml.jackson.databind.ObjectMapper.writeValueAsString(ObjectMapper.java:4040)
	at PluginClassLoader for kubernetes-pipeline-devops-steps//io.fabric8.kubernetes.pipeline.devops.elasticsearch.BuildListener.onCompleted(BuildListener.java:54)
	at hudson.model.listeners.RunListener.lambda$fireCompleted$0(RunListener.java:223)
	at jenkins.util.Listeners.lambda$notify$0(Listeners.java:59)
	at jenkins.util.Listeners.notify(Listeners.java:67)
	at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:221)
	at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun.finish(WorkflowRun.java:645)
	at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun$GraphL.onNewHead(WorkflowRun.java:1068)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.notifyListeners(CpsFlowExecution.java:1545)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$3.run(CpsThreadGroup.java:521)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService.lambda$wrap$2(CpsVmExecutorService.java:85)
	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:139)
	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
	at jenkins.util.ErrorLoggingExecutorService.lambda$wrap$0(ErrorLoggingExecutorService.java:51)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.call(CpsVmExecutorService.java:53)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.call(CpsVmExecutorService.java:50)
	at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:136)
	at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:275)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService.lambda$categoryThreadFactory$0(CpsVmExecutorService.java:50)
	at java.base/java.lang.Thread.run(Thread.java:840)

That usually would indicate that the agent that is trying to run a shell script does not have the oci command installed. The oci command is probably a command line interface to Oracle Cloud infrastructure.

I have double checked. oci CLI is installed on my jenkins server and I can access oci and kubectl from anywhere within the server.

Kindly, help is needed here.