2 * SPDX-License-Identifier: EPL-1.0
3 * Copyright (c) 2018 The Linux Foundation and others.
5 * All rights reserved. This program and the accompanying materials
6 * are made available under the terms of the Eclipse Public License v1.0
7 * which accompanies this distribution, and is available at
8 * http://www.eclipse.org/legal/epl-v10.html
12 * Manage Jenkins OpenStack cloud configuration
14 * This file is used for auto-generation so is quite minimal. The generator
15 * code is produced by shell/jenkins-configure-clouds.sh.
18 import jenkins.plugins.openstack.compute.JCloudsCloud
19 import jenkins.plugins.openstack.compute.JCloudsSlaveTemplate
20 import jenkins.plugins.openstack.compute.SlaveOptions
21 import jenkins.plugins.openstack.compute.slaveopts.BootSource
22 import jenkins.plugins.openstack.compute.slaveopts.LauncherFactory
24 def clouds = Jenkins.instance.clouds
25 clouds.removeAll { it instanceof JCloudsCloud }
27 // Code below is auto-generated by jenkins-configure-clouds.sh