jenkinsci / jenkinsci/google-compute-engine-plugin

Option the set MAXIMUM triggered builds for an agent

Open
#342 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
58
Forks
97
PR merge metrics
No merged PRs in 30d

Description

### What feature do you want to see added?

Setting maximum cap for builds triggered on one agent.when this number is reached - we remove and delete this agent .
For instance, if this number is 100, after 100 builds on the same agent,the agent will be terminated , and by design a new compute agent will show up

This behaviour could be much helpful for cases when a new image template is created ,and you don't wan't to stop the current builds in order to delete the old template agents ( think of many jobs that running periodically on the same agent and there is always running jobs on the agent which never become inactive and the retention time event will never triggered )

### Upstream changes

[#33](https://github.com/jenkinsci/google-compute-engine-plugin/pull/33)

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.