I found out that I can print debug information to the build log by using following code:
${groovy:
import com.pmease.quickbuild.Context;
.....
Context.getLogger().info("Some texts here...");
}
but it works only when script is executed in the step.
Is there any way to print out to the log (or any other place) from withing promotion code, from post-build code and from other places?
Any other way to debug groovy scripts?