Add programmatically prebuildStep in my buildWrapper

2017-07-12 Thread Jean Charles Jabouille
Hi, my plugin class extends hudson.tasks.BuildWrapper. When I activate my plugin in an job, I d'like to add programmatically a prestep(and maybe a recorder). Maybe the good place to do it is in the method ? @Override public Environment setUp(AbstractBuild build, Launcher launcher, Build

Re: post build action

2017-07-06 Thread Jean Charles Jabouille
hi, do you have an answer please ? Le mercredi 26 mars 2014 08:04:03 UTC+1, Irfan Sayed a écrit : > > hi, > > is there any way , where we enable the post build action programatically ?? > > what i need is , i am writing one plugin in which we need enable the > editable email notification action

Plugin which overwrites prebuild and postbuild steps in maven job

2017-07-06 Thread Jean Charles Jabouille
Hi everybody, when I configure my maven job, I can activate my plugin with a chechbox. I want my plugin intercept prebuild and postbuild step to make some actions(shell). I just want to specify that my plugin is used for maven job. I tried to extend MavenReporter class but without any success a