The documentation at
has this example for usage in a Jenkinsfile
I have not been able to find a list of which values for <Build status> match the corresponding checkboxes when configuring a non-pipeline job using the UI. Also it does not say whether you can only have a single value or multiple values. As an example, is this a correct syntax?