--
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/d5749f61-46c9-49e4-a24a-7f804c1902a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
public class FileOperationsBuilder extends Builder
and override
@Override
public boolean perform(final AbstractBuild<?, ?> build, final Launcher launcher, final BuildListener listener)
throws InterruptedException, IOExceptionHere I need AbstractBuild<?,?> because I have to call getBuiltOn function to execute batch and sh scripts on slave.if I implement SimpleBuildStep, I have to override@Override public void perform(Run build, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException { listener.getLogger().println("What was " + what + "?"); }
Which extension point does your plugin implement? Typically you can simply implement a SimpleBuildStep, then your recorder works out of the box for pipelines. See https://jenkins.io/doc/developer/plugin-development/pipeline-integration/ for details
Hi,--I am developing a plugin which reads xml file and do copy,zip,delete file and also execute commands on slave/master machine.It is working fine on freeStyle project. what chnages I have to do to work this plugin on pipeline projects.Thanks,Varun
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 jenkin...@googlegroups.com.
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/29a9a613-5766-4b14-840b-c40cac5bc0d0%40googlegroups.com.
Hi Slide,