use of org.jenkinsci.test.acceptance.plugins.openstack.UserDataConfig in project acceptance-test-harness by jenkinsci.
the class OpenstackCloudPluginTest method configureCloudInit.
private void configureCloudInit(String cloudInitName) {
ConfigFileProvider fileProvider = new ConfigFileProvider(jenkins);
UserDataConfig cloudInit = fileProvider.addFile(UserDataConfig.class);
cloudInit.name(CLOUD_INIT_NAME);
cloudInit.content(resource("/openstack_plugin/" + cloudInitName).asText());
cloudInit.save();
}
Aggregations