Fixed BUG in triggerBuild API