fabric8io / jenkins-pipeline-library

a collection of reusable jenkins pipelines and pipeline functions
Apache License 2.0
275 stars 181 forks source link

Remove Fabric8 Utils import from Deploy #175

Closed KurtStam closed 7 years ago

KurtStam commented 7 years ago

The Deploy workflow imports the Utils which cannot be resolved unless the fabric8 maven plugin v3 is used. The util is not even in use though. So simply deleting it from the workflow does the trick.

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 25: unable to resolve class io.fabric8.Utils @ line 25, column 13. def utils = new io.fabric8.Utils() ^

1 error

at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:302)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:861)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:550)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:499)