Run command on master before / after slave

I want to call a command on master before the job is started on the slave and one after the following:

  • Setup wizard
  • Line
  • Violation of skill

I have been trying to search for a while and browse through all the plugins but haven’t found anything yet. Is it possible?

I found that someone was looking for the same here but didn't get an answer.

+3


source to share


1 answer


You can customize this behavior using the Stream Plugin .

Create a flow with your three steps as Jenkins assignments in sequence. Limit the machines where specific builds will run.



  • setting on the main
  • build on slave
  • shutdown by master

You can pass build parameters across assemblies using the Flow DSL.

+3


source







All Articles