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

 

Here is the list of my enabled plugins :



Kubernetes :: Pipeline :: DevOps StepsVersion1.6 
<https://plugins.jenkins.io/kubernetes-pipeline-devops-steps>

 Kubernetes CLI PluginVersion1.12.0 
<https://plugins.jenkins.io/kubernetes-cli>

Kubernetes Client API PluginVersion6.4.1-215.v2ed17097a_8e9 
<https://plugins.jenkins.io/kubernetes-client-api>

Kubernetes Credentials PluginVersion0.10.0 
<https://plugins.jenkins.io/kubernetes-credentials> 

Kubernetes pluginVersion3971.v94b_4c914ca_75 
<https://plugins.jenkins.io/kubernetes>

17 Aralık 2020 Perşembe tarihinde saat 18:50:25 UTC+3 itibarıyla 
[email protected] şunları yazdı:

> Hi,
> My Pipeline is failing with below error.
>
> java.lang.NoSuchMethodError: No such DSL method 'withKubeConfig' found 
> among steps [approveReceivedEvent, approveRequestedEvent, archive, bat, 
> build, catchError, checkout, container, containerLog, createEvent, 
> deleteDir, dir, dockerFingerprintFrom, dockerFingerprintRun, echo, 
> emailext, emailextrecipients, envVarsForTool, error, fileExists, 
> findBuildScans, getContext, git, input, isUnix, jiraComment, 
> jiraIssueSelector, jiraSearch, junit, kubernetesApply, kubernetesDeploy, 
> library, libraryResource, load, lock, mail, milestone, node, parallel, 
> podTemplate, powershell, properties, publishChecks, publishHTML, pwd, pwsh, 
> readFile, readTrusted, resolveScm, retry, script, 
> setGitHubPullRequestStatus, sh, slackSend, slackUploadFile, 
> slackUserIdFromEmail, slackUserIdsFromCommitters, sleep, stage, stash, 
> step, svn, timeout, timestamps, tm, tool, unarchive, unstable, unstash, 
> validateDeclarativePipeline, waitUntil, warnError, withContext, 
> withCredentials, withDockerContainer, withDockerRegistry, withDockerServer, 
> withEnv, withGradle, wrap, writeFile, ws] or symbols [GenericTrigger, 
> Number, Open, all, allBranchesSame, allOf, allowRunOnStatus, always, ant, 
> antFromApache, antOutcome, antPath, antTarget, any, anyOf, apiToken, 
> architecture, archiveArtifacts, artifactManager, asIsGITScm, 
> authorizationMatrix, batchFile, bitbucket, bitbucketBranchDiscovery, 
> bitbucketForkDiscovery, bitbucketPublicRepoPullRequestFilter, 
> bitbucketPullRequestDiscovery, bitbucketSshCheckout, bitbucketTagDiscovery  
>
> I have installed Kubernetes Plugin and added credentials.Any Idea?
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/88967e7e-2e9f-4032-800d-34957cd4f128n%40googlegroups.com.

Reply via email to