-
Type:
New Feature
-
Resolution: Not A Defect
-
Priority:
Major
-
Component/s: declarative-pipeline-when-conditions-plugin, pipeline
I want to specify a method in jenkinsfile, which will be part of my source code and I want to call that method at any specific stage in Shared-library. Is there anyway, we could do that in case of "declarative pipelines" .
                Can I create a method inside the build pipeline shown in below attachment