Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Build condition evaluated by Master node #4690

kururin ·

Hello
We added a script in a build condition that can be run on the server only. And the build never started.
Could you confirm that the build condition (General settings -> Build condition) is evaluated on the node specified in the Master step?
If yes, does it make sense? why isn't it evaluated on the server?

Thank you
Mathieu

  • replies 1
  • views 18
  • stars 0
robinshen ADMIN ·

Yes build condition is evaluated on the node running master step. This is designed to be so purposely, and the workflow is:

  1. A node is allocated to process current build request
  2. The build condition is evaluted on assigned node.
  3. If build is necessary, master step runs on that node

The reason is to reduce load of QB server as build condition evaluation can take considerable resources such as repository clone, change calcualtion etc.