Build artifact if tests passed.