From 64a86e38f8867b8ecca9263199e6b2d3e792e644 Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Sat, 21 Dec 2024 14:50:24 -0800 Subject: [PATCH] Forward compatibility with jenkinsci/ec2-plugin#1027 --- .../src/test/java/io/jenkins/plugins/casc/EC2CloudTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/src/test/java/io/jenkins/plugins/casc/EC2CloudTest.java b/integrations/src/test/java/io/jenkins/plugins/casc/EC2CloudTest.java index 801b802436..4d608e51e1 100644 --- a/integrations/src/test/java/io/jenkins/plugins/casc/EC2CloudTest.java +++ b/integrations/src/test/java/io/jenkins/plugins/casc/EC2CloudTest.java @@ -13,7 +13,7 @@ import com.amazonaws.services.ec2.model.InstanceType; import hudson.model.labels.LabelAtom; import hudson.plugins.ec2.AMITypeData; -import hudson.plugins.ec2.AmazonEC2Cloud; +import hudson.plugins.ec2.EC2Cloud; import hudson.plugins.ec2.SlaveTemplate; import hudson.plugins.ec2.UnixData; import io.jenkins.plugins.casc.misc.ConfiguredWithReadme; @@ -31,7 +31,7 @@ public class EC2CloudTest { @Test @ConfiguredWithReadme("ec2/README.md") public void configure_ec2_cloud() { - final AmazonEC2Cloud ec2Cloud = (AmazonEC2Cloud) Jenkins.get().getCloud("ec2"); + final EC2Cloud ec2Cloud = (EC2Cloud) Jenkins.get().getCloud("ec2"); assertNotNull(ec2Cloud); assertTrue(ec2Cloud.isUseInstanceProfileForCredentials());