Prabagaran Sellamuthu
Prabagaran Sellamuthu

Reputation: 255

jenkins instance is missing when writing spock test

I am writing a test for which having a Jenkins instance . so I need to mock the Jenkins class and set the instance to Jenkins. What is the method to set the instance?

Import jenkins.model.Jenkins

Upvotes: 0

Views: 214

Answers (0)

Related Questions