Hi All,
 I have made the managed windows batch step of the managed scripts plugin 
pipeline compatible, but I don't like the way I did. I have posted the 
change to my repo here: https://github.com/mdkf/managed-scripts-plugin . My 
concerns are that the code I added to support pipeline is 90% copy-pasted 
and I feel there must be a more eloquent way. ManagedBatchScript.java is 
mostly copied from WindowsBatchScript from the DurableTask plugin. 
ManagedBatchScriptStep is mostly copied from the WinBatchBuilStep already 
in the plugin. Finally, ManagedBatchScriptStep\config-details.jelly is a 
verbatim copy of WinBatchBuildStep\config-details.jelly already in the 
plugin. Can someone find a way to reduce the amount of copy pasted code? 
Thanks,
-Michael

-- 
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/862ffbdc-4867-4c3d-a795-e1602f74ee84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to