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, 
BuildListener listener)
         throws IOException, InterruptedException {
     
       // HERE I HAVE TO ADD A PRESTEP

      return super.setUp(build, launcher, listener);
   }

Someone can help me please ?


-- 
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-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/917df398-015f-4f34-8b13-fc6cd51ba9ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to