Pipeline RunAction2 class integration to side-panel

26 views
Skip to first unread message

Nozim Islamov

unread,
Jun 14, 2022, 5:54:28 PM6/14/22
to Jenkins Developers
Greetings, I'm facing an issue related to pipelines, I have a class that implements RunAction2, I want to run it on pipelines, I integrated checkbox whether to show it or not using JobProperty and on freestyle job it runs perfectly fine with perform method of JobProperty, is there any way to convert it to pipeline? Git: https://github.com/M1ZoN/promoted

Thanks in advance for any help provided.

If possible, can anyone recommend any hello-world-plugin like tutorials, like this one: https://www.jenkins.io/doc/developer/tutorial/prepare/, but for pipelines?

Best regards,

Gavin Mogan

unread,
Jun 14, 2022, 7:36:38 PM6/14/22
to Jenkins Developers
I believe the hello-world archetype has a pipeline step already
integrated. Does that not cover what you need?
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/a821acb3-9d3c-4f17-a93f-dde79ce6fdfdn%40googlegroups.com.

Nozim Islamov

unread,
Jun 14, 2022, 7:39:42 PM6/14/22
to Jenkins Developers
I was mentioning the tutorial on how it created RunAction2, but that is for Builder class, which I believe is not available in Pipelines, so I was wondering whether on how I can integrate my RunAction2 class to get a tab at side-panel for pipelines

Jesse Glick

unread,
Jun 15, 2022, 10:16:59 AM6/15/22
to jenkin...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages