Convert Build plugin to Post Build Action

20 views
Skip to first unread message

David Tanner

unread,
Aug 21, 2014, 11:06:59 AM8/21/14
to jenkin...@googlegroups.com
Hello,

I am working on updating an existing plugin that is configured as a build step.  I know how to convert it to a post build step, but I was wondering if there is a way that I can keep the settings when the plugin is updated.

Thanks,
David Tanner

Karthik V S

unread,
Aug 21, 2014, 2:55:28 PM8/21/14
to jenkin...@googlegroups.com
To configure it as a post build step, the way is to extend the class from Publisher/Recorder based on your need.

David Tanner

unread,
Aug 21, 2014, 3:06:27 PM8/21/14
to jenkin...@googlegroups.com
So that is the easy part. The part I want is to be able to keep the configuration from the build step so people don't have to reconfigure the plugin.


--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/lay4IAmD6JY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jesse Glick

unread,
Aug 21, 2014, 5:02:09 PM8/21/14
to Jenkins Dev

David Tanner

unread,
Aug 21, 2014, 5:14:30 PM8/21/14
to jenkin...@googlegroups.com
I had seen that.  I think that I am going to end up just creating a new plugin altogether anyways.



?

Reply all
Reply to author
Forward
0 new messages