SyntaxFix
Write A Post
Hire A Developer
Questions
As pointed out by @Jayan in another post, the solution was to do the following
import jenkins.model.* jenkins = Jenkins.instance
Then I was able to do the rest of my scripting the way it was.