If I run this script directly in Groovy ....

public class FooBar {
   public static void sayFoo() {
       this.println("Foo");
   }
   public void sayBar() {
       this.println("Bar");
   }
}
println("Hello World");
FooBar.sayFoo();
FooBar fooBar = new FooBar();
fooBar.sayBar();


It properly outputs:

Hello World
Foo
Bar


As DSL in a build flow I only get:

Hello World

CloudBees Build Flow 
plugin<https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin>  
v 0.10

What am I doing wrong?

-Steve Maring
Orlando, FL

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to