jenkinsci / jenkinsci/ec2-plugin
[JENKINS-71445] Reuse stopped EC2 instance,speed up maven build
- Dominant language
- Java
- Stars
- 292
- Forks
- 709
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 4
Description
This plugin is a great plugin. But after using it down to find a problem:
I could not re-enable the stopped EC2 agent, but had to create a new instance.
As for why I need to re-use a stopped EC2 agent, it's because my maven project will download a lot of packages when I build it, and I don't want to repeat the download every time, which will increase my build time.
If it could reuse the previous instance, then it wouldn't have to re-download these dependencies
---
Originally reported by alliot, imported from: Reuse stopped EC2 instance,speed up maven build
Raw content of original issue
This plugin is a great plugin. But after using it down to find a problem:
I could not re-enable the stopped EC2 agent, but had to create a new instance.
As for why I need to re-use a stopped EC2 agent, it's because my maven project will download a lot of packages when I build it, and I don't want to repeat the download every time, which will increase my build time.If it could reuse the previous instance, then it wouldn't have to re-download these dependencies
Contributor guide
Research direction
Start by tracing the ec2-plugin behavior for stopped EC2 agents and how it falls back to creating a new instance. Clarify the expected reuse lifecycle, then define tests showing that a stopped agent can be restarted and its Maven dependencies remain available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, java
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100