use "agent" as canonical symbol for dumbslave
first value is the canonical one as identifier (see javadoc https://github.com/jenkinsci/structs-plugin/blob/master/annotation/src/main/java/org/jenkinsci/Symbol.java#L33)
@@ -65,8 +65,8 @@ public final class DumbSlave extends Slave {
super(name, remoteFS, launcher);
}
- @Extension @Symbol({"dumb",
- "slave", "agent" /*because this is in effect the canonical slave type*/})
+ @Extension @Symbol({"agent" /*because this is in effect the canonical slave type*/,
+ "dumb", "slave"})
public static final class DescriptorImpl extends SlaveDescriptor {
public String getDisplayName() {
return Messages.DumbSlave_displayName();
