Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/ec2/EC2Tag.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class EC2Tag extends AbstractDescribableImpl<EC2Tag> {
/**
* Tag name for the specific jenkins slave type tag, used to identify the EC2 instances provisioned by this plugin.
*/
public static final String TAG_NAME_JENKINS_SLAVE_TYPE = "jenkins_slave_type";
public static final String TAG_NAME_JENKINS_SLAVE_TYPE = "jenkins_node_type";
public static final String TAG_NAME_JENKINS_SERVER_URL = "jenkins_server_url";

@DataBoundConstructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void testSpotInstanceCount() throws Exception {

List<Instance> instances = new ArrayList<Instance>();
for(int i=0; i<=numberOfSpotInstanceRequests; i++) {
instances.add(new Instance().withInstanceId("id"+i).withTags(new Tag().withKey("jenkins_slave_type").withValue("spot")));
instances.add(new Instance().withInstanceId("id"+i).withTags(new Tag().withKey("jenkins_node_type").withValue("spot")));
}

AmazonEC2FactoryMockImpl.instances = instances;
Expand Down