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
#这是日志。我从管理 Jenkins > 所有系统日志中获取它。 #oci 和 kubectl 已在我的 jenkins 服务器中配置。可以从服务器的任何地方访问它
您是否编辑过与该作业或 Jenkins 主机上关联的任何 YAML 文件?仅当 YAML 配置文件配置不正确时才会出现此错误。
“此 YAML 错误通常是由不正确的缩进或数据结构嵌套引起的。YAML 依赖缩进来表示结构和关系。”
https://www.geeksforgeeks.org/how-do-i-resolve-a-mapping-values-are-not-allowed-here-error-in-yaml/