I’m not sure I understand the question, but are you sure you need to do this in 
a plugin? Does it add something beyond running the command from your pipeline?

Sent from my iPhone

On Oct 15, 2019, at 5:39 AM, varun vikas <[email protected]> wrote:


Hi,

I am creating a Jenkins plugin which executes command( bat file or .sh file) on 
slave node using

launcher.launch().cmds(buildCommandLine(script)).envs(envVars).stdout(listener).pwd(ws).start());

I have extended Builder and implements SimpleBuildStep.
But when I tried to abort the plugin , it is not aborted.What could be issue.


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 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/3b890d9d-016f-4c09-92c2-8e0218bce87e%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-dev/3b890d9d-016f-4c09-92c2-8e0218bce87e%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/D0988696-EDE0-4945-96E4-67D613C9F22B%40godaddy.com.

Reply via email to