jenkinsci / jenkinsci/lockable-resources-plugin

Can't lock multiple resources in freestyle project via label

Open
#229 0 comments 2 reactions 0 assignees View on GitHub
freestyle vs pipeline resource conflicts or cleanup handled poorly Triage
Dominant language
Java
Stars
99
Forks
205
Avg merge
2d 13h
Merged PRs (30d)
8

Description

When using lockable resources in a freestyle project, and configuring through the web interface, it doesn't seem possible to lock multiple resources via the label field.

ResourceA, ResourceB results in The label does not exist: ResourceA, ResourceB
ResourceA ResourceB results in The label does not exist: ResourceA ResourceB

If you ignore the error, the job acts like its trying to lock a single resource containing both names.

Additionally, its unclear if this feature worked how the resources would map to the 'Reserved resources variable name'. Is it possible to reserve multiple resources, and have them mapped to multiple variable names?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.