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


i below strange error when trying deploy mesos.

the snippet of code looks follow

marathon(                               url: 'http://marathon-instance',      forceupdate: false,                   appid: 'someid',                      docker: 'mesosphere/jenkins-dev') 

unfortunalety fails below error

java.lang.nosuchmethoderror: no such dsl method '$' found among steps [acceptgitlabmr, addgitlabmrcomment, archive, artifactorydownload, artifactorypromotebuild, artifactoryupload, bat, build, catcherror, checkout, collectenv, deletedir, dir, dockerfingerprintfrom, dockerfingerprintrun, echo, envvarsfortool, error, fileexists, getartifactoryserver, git, gitlabbuilds, gitlabcommitstatus, input, isunix, load, mail, marathon, milestone, newartifactoryserver, newbuildinfo, node, parallel, properties, publishbuildinfo, pwd, readfile, readtrusted, retry, script, sh, sleep, sshagent, stage, stash, step, svn, timeout, timestamps, tool, unarchive, unstash, updategitlabcommitstatus, waituntil, withcredentials, withdockercontainer, withdockerregistry, withdockerserver, withenv, wrap, writefile, ws] or symbols [all, always, apitoken, architecture, archiveartifacts, artifactmanager, batchfile, booleanparam, buildbutton, builddiscarder, caseinsensitive, casesensitive, choice, choiceparam, clock, cloud, command, cron, crumb, defaultview, demand, disableconcurrentbuilds, downloadsettings, downstream, dumb, envvars, file, fileparam, filepath, fingerprint, frameoptions, freestyle, freestylejob, git, hyperlink, hyperlinktomodels, installsource, jdk, jdkinstaller, jgit, jnlp, jobdsl, jobname, junit, lastduration, lastfailure, lastgrantedauthorities, laststable, lastsuccess, legacy, list, local, location, logrotator, loggedinuserscandoanything, masterbuild, maven, maven3mojos, mavenerrors, mavenmojos, mavenwarnings, myview, nodeproperties, nonstoredpasswordparam, none, panestatus, parameters, password, pattern, pipelinetriggers, plaintext, plugin, projectnamingstrategy, proxy, queueitemauthenticator, quietperiod, run, runparam, schedule, scm, scmretrycount, search, security, shell, slave, stacktrace, standard, status, string, stringparam, swapspace, text, textparam, tmpspace, toollocation, unsecured, upstream, viewstabbar, weather, zfs, zip]     @ org.jenkinsci.plugins.workflow.cps.dsl.invokemethod(dsl.java:145)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 @ org.jenkinsci.plugins.workflow.cps.cpsscript.invokemethod(cpsscript.java:117)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

i can see have marathon 1.3.2 plugin installed. however, appears wrong.

antoine


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -