On Friday, July 21, 2023 at 8:08:26 AM UTC-6 Gizem wrote:

Hi, 

I have the same issue. I have installed kubernetes-cli; even i uninstalled 
and installed the pugin again. Still does not work for me. 

Could you please help me? Best regards

On build log: 

Also: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 
04309c70-2416-4c88-a8c6-283c2f844814 java.lang.NoSuchMethodError: No such 
DSL method 'kubernetesDeploy' found among steps

 


Unfortunately, you do not have the same issue.  The message "no such DSL 
method 'withKubeConfig'" can be solved by installing the Kubernetes CLI 
plugin.  You've done that.  The message "no such DSL method 
'kubernetesDeploy'" cannot be solved by installing any plugin that is known 
to the Jenkins Pipeline steps reference 
<https://www.jenkins.io/doc/pipeline/steps/>.  There is no active plugin 
that provides the method "kubernetesDeploy".

A 'kubernetesDeploy' step was provided by the Kubernetes Continuous Deploy 
plugin but that plugin has been suspended from distribution due to an 
unresolved remote code execution vulnerability.  Refer 
to https://www.jenkins.io/security/advisory/2022-08-23/#SECURITY-2448 for 
the details.

You'll need to find another way perform the desired operation rather than 
using that Pipeline step.

Mark Waite

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5bb79b7a-271d-4091-a9c8-49dc3cbc965bn%40googlegroups.com.

Reply via email to