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 <
[email protected]> 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 [email protected].
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtH825tCDtpJYmhub3KTPRBgE78sO_1CcS9yzLd6R3e25A%40mail.gmail.com.

Reply via email to