just for completeness and clarity, this works in a Build Flow DSL ...
public class FooBar {
private OutputStream out;
public FooBar(OutputStream out) {
this.out = out;
}
public static void sayFoo(OutputStream out) {
out.println("Foo");
}
public void sayBar() {
this.out.println("Bar");
}
}
println("Hello World");
FooBar.sayFoo(out);
FooBar fooBar = new FooBar(out);
fooBar.sayBar();
>>
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.