Hi Mark
i have installed kubernetes-cli an dit worked.Thank you

On Thursday, 17 December 2020 at 21:29:41 UTC+5:30 Mark Waite wrote:

> Are you sure that you have the Kubernetes CLI plugin installed?  
> https://plugins.jenkins.io/kubernetes-cli/
>
> On Thu, Dec 17, 2020 at 8:50 AM anilkumar panditi <anilkuma...@gmail.com> 
> wrote:
>
>> 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 jenkinsci-use...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/e5dcb413-96bf-4339-aac3-9cec315e8efdn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/e5dcb413-96bf-4339-aac3-9cec315e8efdn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/5a7dcfef-8418-4835-991a-a2a5d9059eacn%40googlegroups.com.

Reply via email to