Title: Message Title
Michal Medvecky created an issue
Jenkins / JENKINS-38890
Pipeline not working for the sample job
Issue Type:
Bug
Assignee:
Carlos Sanchez
Components:
kubernetes-plugin
Created:
2016/Oct/11 10:41 AM
Environment:
Jenkins 2.7.3 Kubernetes plugin 0.8
Priority:
Blocker
Reporter:
Michal Medvecky
I have a simple pipeline job defined just by copy-pasting the sample from https://github.com/jenkinsci/kubernetes-plugin#pipeline-support When starting the job, Jenkins complains: [Pipeline] End of Pipeline java.lang.NoSuchMethodError: No such DSL method 'containerTemplate' found among steps [archive, bat, build, catchError, checkout, deleteDir, dir, dockerFingerprintFrom, dockerFingerprintRun, echo, error, fileExists, git, gitlabBuilds, gitlabCommitStatus, httpRequest, input, isUnix, libraryResource, load, mail, milestone, node, parallel, properties, pwd, readFile, readTrusted, retry, sh, slackSend, sleep, stage, stash, step, svn, timeout, 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, jobName, junit, lastDuration, lastFailure, lastGrantedAuthorities, lastStable, lastSuccess, legacy, list, local, location, logRotator, loggedInUsersCanDoAnything, masterBuild, maven, maven