jenkins instance is missing when writing spock test

174 Views Asked by At

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

0

There are 0 best solutions below