Search code examples
jenkinsjenkins-pluginsjenkins-workflowjenkins-pipeline

How to invoke a plugin from Jenkins build pipeline


I have pipeline job in my Jenkins 2.x installation. In one of my steps I want to invoke a third party plugin that hasn't been updated to support pipeline jobs.

How can I invoke that plugin and have it run from my pipeline?


Solution

  • Use snippet generator and look for step there, and you will see a list of plugins. enter image description here

    It works for some plugins only, so if yours is not there you are out of luck.