So I am new to Java, Groovy and Jenkins . . .
I have a simple test class working: class Test { public String MyString() { return "This is my String"; } } I can compile it and call it from Java . . . class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); // Display the string. Test t = new Test(); System.out.println(t.MyString()); } } The question is, how do I do that from Groovy and Jenkins? Is there a magic directory this has to be put into or a way to change CLASSPATH (I've seen postings implying CLASSPATH isn't honored by Jenkins). I get that I need to import it . . . but where do I need to put it or how do I configure Groovy so it knows where I put it? Frank