jenkinsci / jenkinsci/openstack-cloud-plugin

Only build jobs with label expression matching this node

Open
#199 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
49
Forks
97
Avg merge
13h 23m
Merged PRs (30d)
6

Description

I'd like to have an (openstack) agent reserved for special kind of jobs. This is why I use labels. But there are jobs without label specification that can be executed on any agent except the special one. For this, permanent agents have a setting switching between:

- "Use this node as much as possible"
- "Only build jobs with label expression maching this node"

It seems that openstack cloud plugin is always creating nodes with the first option and there is no way to switch to the second one. As a result, unlabeled jobs are executed even on the special agent.

As an example, after some googling, I've found that Oracle Cloud plugin provides this feature:

https://github.com/jenkinsci/oracle-cloud-infrastructure-compute-plugin/blob/master/README.md#add-new-template

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.