Andrea Cirulli

Results 4 comments of Andrea Cirulli

both a.groovy and b.groovy are located in `vars` This is my `build.gradle.kts` ``` plugins { id("com.mkobit.jenkins.pipelines.shared-library") version "0.10.1" id("com.github.ben-manes.versions") version "0.21.0" java } java { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility =...

The main issue here how can a groovy file referentiating a method from another groovy file be tested?

Yes is located in the `vars` but the git.fetch is located in a shared-library that is imported by the Jenkinsfile that is using foo. And my goal is to test...

What do you mean? In this case my problem is I'm not able to mockup `git.fetch` because it does not find the property git, but I don't know how to...