126.96.36.199.6. Configuring the Jenkins Execution Queue
The Jenkins “Execution Queue” contains all the graphs that are waiting to be executed at a given moment in time. There are, basically, two different ways to “fill-in” the Jenkins “Execution Queue”:
1.Through Jenkins: For example, you can configure Jenkins to execute an Anatella graph X everyday at midnight (see section 188.8.131.52.3. for more information about “scheduling” graphs). This means that, everyday at midnight, Jenkins automatically adds the Anatella graph X inside the “Execution Queue” (so that it is executed as soon as possible).
2.Through Anatella: The “Loop Jenkins” Action (see section 5.21.1) instantaneously adds many Anatella graphs inside the Jenkins “Execution Queue”.
All the Anatella graphs that are inside the Jenkins “Execution Queue” are executed as soon as possible using all the computing power available inside all the computers managed by Jenkins.
Jenkins has several options that allows you to configure exactly what’s the available “computing power”. More precisely:
•You can add/remove “nodes”.
•For each “node”, you can decide the maximum number of graphs that can be executed simultaneously.
1. To Add/Remove “nodes”
1.1.Open a browser and click on “Build Executor Status” link in the bottom left corner of the “Jenkins” home page:
This opens a webpage where you can configure each node managed by Jenkins.
1.2.To add a new computing “Node”, click on the “New Node” link here:
2. To set the maximum number of graphs that will be executed simultaneously on a node
2.1. Click on the node that you want to configure. For example, if you want to configure the “master” node, click in the gear icon, here:
2.2.The maximum number of Anatella graphs that will be executed simultaneously on the “master” node (i.e. the “number of executors”) is defined here (in the example, it’s “4”):
2.3.Click on the “Save” button: