Skip to content

Job and Service Flow

pedro-monteiro edited this page Feb 5, 2014 · 3 revisions

When a job command runs, a virtual machine is created on the cloud to run that command. After the command finishes being executed, the virtual machine is terminated.

When a service command runs, the flow is more complex. Take for example the Jenkins service creation flow:

  • Firstly, the service needs to be created.
  • Then, the bootstrap command runs inside the service. This creates a virtual machine to run the command. The command itself creates a bootstrap machine. After that the command machine is terminated
  • Then, the deploy command runs inside the service. This command runs on the bootstrap machine and creates and configure the Jenkins machine.
  • The bootstrap and Jenkins machine are only terminated when the service is canceled.

Clone this wiki locally