jenkinsci / jenkinsci/agent-setup-plugin

[JENKINS-71029] Empty label expression matches nothing

Open
#144 1 comment 0 reactions 0 assignees View on GitHub
component:slave-setup-plugin imported-jira-issue priority:critical resolution:unresolved
Dominant language
Java
Stars
11
Forks
23
Avg merge
21h 13m
Merged PRs (30d)
1

Description

Since the big update a couple of moths ago, all scripts that were supposed to run on ALL agents (aka empty label expression) don't run anymore.

I am not sure what expression I am supposed to add to run scripts on all agents, since neither

```
'*'
```

nor

```
'.*'
```

work. I also don't want to add a label to all agents just for the sake of this plugin and imho it also doesn't make sense to try and find a (set of) label(s) to get this to work on all agents – which will break if new agents are added without that/those label(s)!

---
Originally reported by malice00, imported from: Empty label expression matches nothing


  • status: Open
  • priority: Critical
  • component(s): slave-setup-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251216-225446

Raw content of original issue

Since the big update a couple of moths ago, all scripts that were supposed to run on ALL agents (aka empty label expression) don't run anymore.
I am not sure what expression I am supposed to add to run scripts on all agents, since neither



'*'


nor



'.*'


work. I also don't want to add a label to all agents just for the sake of this plugin and imho it also doesn't make sense to try and find a (set of) label(s) to get this to work on all agents – which will break if new agents are added without that/those label(s)!

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.