gpt4 book ai didi

jenkins - java.lang.NoSuchMethodError : No such DSL method 'echo' found among steps

转载 作者:行者123 更新时间:2023-12-02 10:29:50 33 4
gpt4 key购买 nike

我已经安装了所有管道插件,

但我仍然得到

java.lang.NoSuchMethodError: No such DSL method 'echo' found among steps [ArtifactoryGradleBuild, ArtifactoryMavenBuild, MavenDescriptorStep, artifactoryDownload, artifactoryPromoteBuild, artifactoryUpload, build, checkout, collectEnv, copyRemoteArtifacts, dockerPullStep, dockerPushStep, emailext, emailextrecipients, getArtifactoryServer, git, input, libraryResource, load, milestone, newArtifactoryServer, newBuildInfo, newGradleBuild, newMavenBuild, parallel, properties, publishBuildInfo, readTrusted, stage, triggerRemoteJob, withCredentials, xrayScanBuild] or symbols [all, always, ant, antFromApache, antOutcome, antTarget, apiToken, architecture, archiveArtifacts, artifactManager, batchFile, booleanParam, buildButton, buildDiscarder, caseInsensitive, caseSensitive, choice, choiceParam, clock, cloud, command, configFile, configFileProvider, cron, crumb, defaultView, demand, disableConcurrentBuilds, downloadSettings, downstream, dumb, envVars, file, fileParam, filePath, fingerprint, frameOptions, freeStyle, freeStyleJob, git, hyperlink, hyperlinkToModels, installSource, jdk, jdkInstaller, jgit, jgitapache, jnlp, jobName, junit, lastDuration, lastFailure, lastGrantedAuthorities, lastStable, lastSuccess, legacy, list, local, location, logRotator, loggedInUsersCanDoAnything, masterBuild, maven, maven3Mojos, mavenErrors, mavenMojos, mavenWarnings, myView, nodeProperties, nonStoredPasswordParam, none, overrideIndexTriggers, paneStatus, parameters, password, pattern, pipelineTriggers, plainText, plugin, pollSCM, projectNamingStrategy, proxy, queueItemAuthenticator, quietPeriod, run, runParam, schedule, scmRetryCount, search, security, shell, slave, stackTrace, standard, status, string, stringParam, swapSpace, text, textParam, tmpSpace, toolLocation, unsecured, upstream, usernameColonPassword, usernamePassword, viewsTabBar, weather, zfs, zip] or globals [Artifactory, currentBuild, env, params, scm]
at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:149)
at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:108)
at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1280)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1174)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:42)

我缺少一些插件吗?

最佳答案

您似乎没有 Pipeline Basic Steps Plugin已安装,因为 steps provided 都没有,包括 echo,由插件似乎已在错误消息中列出。

或者,插件已安装,但无法加载,因为其依赖项之一已被删除或无法加载。如果您是管理员,您应该会在每个页面的右上角或 logs 中看到相关警告。 .

关于jenkins - java.lang.NoSuchMethodError : No such DSL method 'echo' found among steps,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42921301/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com