The script / step will only be executed, if one of the selected build results have been reached. Use the control key on your keyboard to select multiple results.