griddynamics / mpl

[IT-36925] Jenkins Shared Modular Pipeline Library
https://blog.griddynamics.com/developing-a-modular-pipeline-library-to-improve-devops-collaboration/
Apache License 2.0
158 stars 96 forks source link

The pipeline can't find the embedded modules anymore #96

Closed sparshev closed 2 years ago

sparshev commented 2 years ago

@emelianrus found the issue and prepared a fix #95 for the interface change in https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/ace0de3c2d691662021ea10306eeb407da6b6365 which is effective since Pipeline: Shared Groovy Libraries v561.

The issue on the default build of MPL looks like:

hudson.remoting.ProxyException: com.griddynamics.devops.mpl.MPLModuleException: Unable to find not active module to execute:  -X> modules/Checkout/Checkout.groovy
    at MPLModule.call(MPLModule.groovy:79)
    at MPLModule.call(MPLModule.groovy)
    at MPLPipeline.call(MPLPipeline.groovy:52)