hi.
When I run the groovy script in script format, the code below works well without any quirks and system class loading errors. however
If you run the groovy script with groovy test.grooy as an external file or batch/shell command, it will say that the system class cannot be found.
Can you tell me how to load this system class?
<< >>>
import com.pmease.quickbuild.*;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
def targetConf = system.configurationManager.get("root/test");
if (targetConf == null)
throw new QuickbuildException("Unable to find target configuration.");
def builds = system.buildManager.getBuilds(targetConf);
- solved #2
- replies 2
- views 513
- stars 0