Correct usage of "was passed"
Solution 1:
As a fellow NZ English speaker that looks OK to me. The build was submitted to a system to be tested, and that system gave it a pass mark as a result of the testing.
A more wordy way to say it would be
The submitted build was passed by the test system
or
The submitted build was given a passing mark by the test system