The label of the resources to be locked as defined in Global settings.

Either a resource or a label need to be specified.

See also examples and Scripted vs declarative pipeline .