Chore: Upgrade Jenkins-job-builder to 6.3.0
[releng/global-jjb.git] / jenkins-admin / manage_clouds.groovy
1 /*
2  * SPDX-License-Identifier: EPL-1.0
3  * Copyright (c) 2018 The Linux Foundation and others.
4  *
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
9  */
10
11  /**
12   * Manage Jenkins OpenStack cloud configuration
13   *
14   * This file is used for auto-generation so is quite minimal. The generator
15   * code is produced by shell/jenkins-configure-clouds.sh.
16   */
17
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
23
24 def clouds = Jenkins.instance.clouds
25 clouds.removeAll { it instanceof JCloudsCloud }
26
27 // Code below is auto-generated by jenkins-configure-clouds.sh