jenkinsci / jenkinsci/ec2-plugin
[JENKINS-69457] Reconnect after init.sh script runs
- Dominant language
- Java
- Stars
- 292
- Forks
- 709
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 4
Description
Sometimes it's necessary to make changes in the init script that can't be represented in the current session - e.g. goup changes. To allow these kind of changes it would be necessary that a new session will be opened before the agent will be started.
---
Originally reported by fgosse_truffls, imported from: Reconnect after init.sh script runs
Raw content of original issue
Sometimes it's necessary to make changes in the init script that can't be represented in the current session - e.g. goup changes. To allow these kind of changes it would be necessary that a new session will be opened before the agent will be started.
environment
```
Jenkins: 2.346.3
Amazon EC2 plugin: 2.0.0
```
Contributor guide
Research direction
Start by tracing the ec2-plugin flow that runs init.sh and starts the agent, then identify where the current session is established. Confirm how a new session could be opened before agent startup and verify that changes made by init.sh are visible to the agent. The issue names no files or tests, so the repository's startup and connection flow will need to be located first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, java
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100