jenkinsci / jenkinsci/ec2-plugin
[JENKINS-76199] Plugin using EOL amazon-linux-extras command
- Dominant language
- Java
- Stars
- 292
- Forks
- 709
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 4
Description
./src/main/java/hudson/plugins/ec2/ssh/EC2UnixLauncher.java references amazon-linux-extras which has been EOL since 2024-06-30:
https://docs.aws.amazon.com/linux/al2/ug/al2-extras.html
Additionally, this command installs Java 11 which the Jenkins project stopped supporting on 2024-06-18:
https://www.jenkins.io/blog/2024/06/11/require-java-17/
Lastly, this command assumes the underlying OS is Amazon Linux.
If lines 208-214 are needed at all, I request something current and cross-OS. Thanks.
---
Originally reported by sgdave, imported from: Plugin using EOL amazon-linux-extras command
Raw content of original issue
./src/main/java/hudson/plugins/ec2/ssh/EC2UnixLauncher.java references amazon-linux-extras which has been EOL since 2024-06-30:
https://docs.aws.amazon.com/linux/al2/ug/al2-extras.htmlAdditionally, this command installs Java 11 which the Jenkins project stopped supporting on 2024-06-18:
https://www.jenkins.io/blog/2024/06/11/require-java-17/Lastly, this command assumes the underlying OS is Amazon Linux.
If lines 208-214 are needed at all, I request something current and cross-OS. Thanks.
environment
```
Jenkins: 2.516.3
OS: Linux - 5.14.0-570.25.1.0.1.el9_6.x86_64
Java: 17.0.15 - Red Hat, Inc. (OpenJDK 64-Bit Server VM)
---
Parameterized-Remote-Trigger:3.2.2
ansicolor:1.0.6
antisamy-markup-formatter:173.v680e3a_b_69ff3
apache-httpcomponents-client-4-api:4.5.14-269.vfa_2321039a_83
apache-httpcomponents-client-5-api:5.5-170.v023de017ccd7
asm-api:9.9-185.va_6c6b_3348b_c3
aws-credentials:254.v978a_5e206a_d7
aws-java-sdk-ec2:1.12.780-480.v4a_0819121a_9e
aws-java-sdk-minimal:1.12.780-480.v4a_0819121a_9e
aws-java-sdk2-core:2.33.4-62.vc1a_8df64b_4c9
aws-java-sdk2-ec2:2.33.4-62.vc1a_8df64b_4c9
aws-java-sdk2-netty-nio-client:2.33.4-62.vc1a_8df64b_4c9
aws-java-sdk2-s3:2.33.4-62.vc1a_8df64b_4c9
bootstrap5-api:5.3.8-895.v4d0d8e47fea_d
bouncycastle-api:2.30.1.82-277.v70ca_0b_877184
branch-api:2.1255.v2f5fe203584a_
build-name-setter:2.5.1
build-timeout:1.38
build-user-vars-plugin:195.v8c35f9d5c3dc
build-with-parameters:76.v9382db_f78962
caffeine-api:3.2.2-178.v353b_8428ed56
checks-api:373.vfe7645102093
cloudbees-folder:6.1053.vd62fb_b_f7367b_
command-launcher:123.v37cfdc92ef67
commons-httpclient3-api:3.1-3
commons-lang3-api:3.19.0-104.v12125f33a_255
commons-text-api:1.14.0-194.v804a_dc3a_1b_d8
conditional-buildstep:1.5.0
configuration-as-code:1998.v3e50e6e9d9d3
copyartifact:770.va_6c69e063442
credentials:1447.v4cb_b_539b_5321
credentials-binding:702.vfe613e537e88
dark-theme:574.va_19f05d54df5
display-url-api:2.217.va_6b_de84cc74b_
durable-task:605.v9a_b_9040c9970
ec2:2039.v829e6272107c
echarts-api:6.0.0-1165.vd1283a_3e37d4
eddsa-api:0.3.0.1-19.vc432d923e5ee
envinject:2.926.v69c9b_3896a_96
envinject-api:1.235.va_14c74f8f487
extensible-choice-parameter:239.v5f5c278708cf
external-monitor-job:223.vb_fddcf42c9b_3
font-awesome-api:7.1.0-882.v1dfb_771e3278
generic-webhook-trigger:2.4.1
git:5.8.0
git-client:6.4.0
groovy:497.v7b_061a_a_de65d
groovy-label-assignment:1.2.0
gson-api:2.13.2-173.va_a_092315913c
instance-identity:203.v15e81a_1b_7a_38
ionicons-api:94.vcc3065403257
jackson2-api:2.20.0-420.v8a_08b_d57ca_05
jakarta-activation-api:2.1.3-2
jakarta-mail-api:2.1.3-3
jakarta-xml-bind-api:4.0.5-3.v3d5b_a_73965b_9
javadoc:354.vee1a_660b_4990
javax-activation-api:1.2.0-8
javax-mail-api:1.6.2-11
jaxb:2.3.9-133.vb_ec76a_73f706
jdk-tool:83.v417146707a_3d
jnr-posix-api:3.1.20-166.v50a_50932c65b_
job-import-plugin:122.v35289550f1e6
jobConfigHistory:1356.ve360da_6c523a_
joda-time-api:2.14.0-149.v1c3ce991d1b_9
jquery3-api:3.7.1-619.vdb_10e002501a_
jsch:0.2.16-95.v3eecb_55fa_b_78
json-api:20250517-173.v596efb_962a_31
json-path-api:2.9.0-190.veefca_05d5477
jsoup:1.21.2-66.v6ea_38164b_8a_2
junit:1363.v2ea_b_461a_1480
ldap:793.v754d6b_41b_ea_4
login-theme:284.v95044396a_484
mailer:522.va_995fa_cfb_8b_d
mask-passwords:204.v24d863065180
matrix-auth:3.2.8
matrix-project:870.v9db_fcfc2f45b_
maven-plugin:3.27
mina-sshd-api-common:2.16.0-167.va_269f38cc024
mina-sshd-api-core:2.16.0-167.va_269f38cc024
mina-sshd-api-scp:2.16.0-167.va_269f38cc024
miniorange-saml-sp:3.5.3
netty-api:4.1.118.Final-9.v776038d601a_7
node-iterator-api:72.vc90e81737df1
okhttp-api:4.12.0-195.vc02552c04ffd
oss-symbols-api:408.ve05d306d2354
pam-auth:1.12
parameter-separator:296.v9b_a_90c81160d
parameterized-trigger:873.v8b_e37dd8418f
people-view:1.16.v774d3b_4b_3a_f3
pipeline-build-step:571.v08a_fffd4b_0ce
pipeline-graph-analysis:245.v88f03631a_b_21
pipeline-groovy-lib:776.vfee5327b_b_a_5b_
pipeline-input-step:534.v352f0a_e98918
pipeline-milestone-step:138.v78ca_76831a_43
pipeline-model-api:2.2273.v643f36ed9e94
pipeline-model-definition:2.2273.v643f36ed9e94
pipeline-model-extensions:2.2273.v643f36ed9e94
pipeline-stage-step:322.vecffa_99f371c
pipeline-stage-tags-metadata:2.2273.v643f36ed9e94
plain-credentials:199.v9f8e1f741799
plugin-util-api:6.1192.v30fe6e2837ff
postbuild-task:78.v24529f1f5cdb_
preSCMbuildstep:115.vf9808414429d
prism-api:1.30.0-630.va_e19d17f83b_0
rebuild:338.va_0a_b_50e29397
resource-disposer:0.25
role-strategy:799.v5b_e7b_ecc231e
run-condition:243.v3c3f94e46a_8b_
s3:515.vc2f8153c5dc6
scm-api:712.v8846fdd68c88
scoring-load-balancer:202.ve8d1e11694e2
script-security:1378.vf25626395f49
slack:795.v4b_9705b_e6d47
snakeyaml-api:2.3-125.v4d77857a_b_402
ssh-agent:386.v36cc0c7582f0
ssh-credentials:361.vb_f6760818e8c
ssh-slaves:3.1071.v0d059c7b_c555
sshd:3.374.v19b_d59ce6610
structs:353.v261ea_40a_80fb_
template-project:1.5.2
theme-manager:319.v9193461f9671
throttle-concurrents:2.18
timestamper:1.30
token-macro:477.vd4f0dc3cb_cf1
trilead-api:2.209.v0e69b_c43c245
variant:70.va_d9f17f859e0
workflow-aggregator:608.v67378e9d3db_1
workflow-api:1384.vdc05a_48f535f
workflow-basic-steps:1098.v808b_fd7f8cf4
workflow-cps:4209.v83c4e257f1e9
workflow-durable-task-step:1464.v2d3f5c68f84c
workflow-job:1551.v7320b_88b_d5e6
workflow-multibranch:821.vc3b_4ea_780798
workflow-scm-step:452.vdf1ca_c8d3a_87
workflow-step-api:710.v3e456cc85233
workflow-support:991.v66c18437d509
ws-cleanup:0.49
```
Contributor guide
Assessment
This issue has not been assessed yet.