BlackToppStudios / Mezz_Foundation

Foundational Data types that enforce no opinions on how to build games and provide many facilities that complex games need. This largely avoids graphics and physics, but provides tools like the SortedVector, CountedPtr and HashedString classes.
GNU General Public License v3.0
3 stars 0 forks source link

Optimize Scheduling in Jenkinsfile #39

Closed Sqeaky closed 4 years ago

Sqeaky commented 6 years ago

When we make a PR two builds are started in our CI. One at the HEAD of the PR branch and one at a new commit with master merged. The Jenkins system is interleaving these builds in an attempt to optimize performance.

However, our Jenkinsfile is setup so that each stage must complete before the next begins. This is causing artificial slowdowns by causing machines that could be working to wait.

This relates to Issue #37 this is the performance side effects of that issue.

Sqeaky commented 4 years ago

We added a second raspberry pi which halved the time and have identified this as clearly the bottleneck.