credentialsId: {{ cloud_credential_id }}
endPointUrl: {{ cloud_url }}
ignoreSsl: {{ cloud_ignore_ssl }}
- name: "cattle"
+ name: {{ cloud_name }}
slaveOptions:
availabilityZone: {{ availability_zone }}
bootSource:
parser.add_argument('--path', type=dir_path,
help="Path to jenkins-admin directory")
+ parser.add_argument('--name', type=str,
+ help="cloud name IE: cattle")
parser.add_argument(
"-s", "--sandbox",
# Global cloud config section
for section in config_parser_merged.sections():
if section == "cloud":
- final = (config.items(section))
+ afinal = (config.items(section))
+ name = parsed_args.name
+ final = (*afinal, ("cloud_name", name))
for index, _ in enumerate(final):