Processing DSL script TEST_JOB_CLASSES_USAGE.groovy ERROR: startup failed: workspace:/jobs/TST/TEST_JOB_CLASSES_USAGE.groovy: 4: unable to resolve class helpers.JobHelper @ line 4, column 1. import helpers.JobHelper; ^
My class is in /jobs/helpers/JobHelper.groovy
And is called as follow:
import helpers.JobHelper;
Any thougts why it still doesn't see this class?
Can anyone please assist in resolution of this issue?
workspace:/jobs/TST/TEST_JOB_CLASSES_USAGE.groovy: 4: unable to resolve class helpers.JobHelper @ line 4, column 1. import helpers.JobHelper;
Class is defined in /jobs/helpers/JobHelper.groovy script.
Here is how it is defined at the beginning:
package helpers
import javaposse.jobdsl.dsl.Job
/**
* Created by tklym on 17.11.16.
*/
public class JobHelper {
//loading class for IDEA development :
import helpers.JobHelper;