Hi,
I want to create a groovy class for common parameters for my jenkinks-pipline project.
I created parameters class Jenkins-pipline/src/org/parameters/parameters.groovy at fc44878b050718e7f54344182654e9d690a6bdd0 · OdedViner/Jenkins-pipline · GitHub
Imported it on job1 DSL Jenkins-pipline/jobs/job1.groovy at fc44878b050718e7f54344182654e9d690a6bdd0 · OdedViner/Jenkins-pipline · GitHub
Tried to get the common param on job1 DSL
Ran my seed job and got this error:
Processing DSL script jobs/job1.groovy
ERROR: startup failed:
job1.groovy: 1: unable to resolve class org.parameters.parameters
@ line 1, column 1.
@Library('utils') import org.parameters.parameters
^
job1.groovy: 1: unable to resolve class Library , unable to find class for annotation
@ line 1, column 1.
@Library('utils') import org.parameters.parameters
^
2 errors
Finished: FAILURE
Can you assist me to find the issue?