This plugin uses JClouds to provide slave launching on most of the currently usable Cloud infrastructures.

{jenkins-plugin-info:pluginId=jclouds-jenkins|jiraComponent=jclouds|sourceDir=jclouds-plugin}

JClouds Jenkins plugin provides option to launch jenkins slaves on any Cloud provider supported by JClouds, or on a cloud provider implementing one of the APIs JClouds supports.

Important information for upgrading from versions < 2.9 of this plugin

Due to the fact that all credentals ar now handled by the credentials plugin, the config data must be converted during upgrade and therefore, a rollback can not be performed easily.
If you want to presevere config data, just in case you want to switch back to 2.8.1 you must backup config.xml and credentials.xml from your jenkins' home before performing the update.
Then in case of rollback do the following:

  1. uninstall the plugin
  2. shutdown jenkins
  3. restore config.xml and credentials.xml
  4. startup jenkins
  5. install the old plugin version

Adding a new Cloud Provider

Executing build on the slave

Adding a Blobstore Profile for storing build artifacts

The plugin also provides a way to store your build artifacts on JClouds supported cloud storage providers. You can configure multiple
blobstore profiles and configure the build to copy different files/artifacts to the specified container. Here's how you configure the same.

Publishing artifacts after a build

After you configure a cloudstorage provider, you can enable the publishing file by enabling it under `Post-build Actions` in the build job configuration page.

When the build is complete and successful, the configured files will be published to the configured blobstore.

Merged cloud-init YAML definitions

When using cloud-init you can provide multiple config data snippets. If you select YAML snippets, thos get merged. E.g:

If snippet 1 contains:

packages:
  - screen
  - openjdk-8-jdk-headless

and snippet 2 contains:

packages:
  - gcc

Then the resulting YAML on the cloud-init (server) side becomes:

packages:
  - gcc
  - screen
  - openjdk-8-jdk-headless

Using the new phone-home feature

When provisioning slaves, there might be too much work on a slave for it to get ready (listening on port 22) in time for jenkins.
Therefore, the plugin provides a new webhook, which is designed to be invoked by a http POST request using cloud-init within the slave when everything is ready to use. When enabled, the usual slave connection setup is delayed until the http POST is received.

Changelog

Version 2.15 (released August 6, 2019)

Version 2.14 (released February 14, 2017)

Version 2.13 (released February 13, 2017)

Version 2.12 (released December 16, 2016)

Version 2.11 (released December 5, 2016)

Version 2.10 (released November 18, 2016)

Version 2.9 (released November 9, 2016)

Version 2.8.1-1 (released December 2, 2015)

Version 2.5.1 (released March 5, 2014)

Version 2.5 (released February 5, 2014)

Version 2.4 (released August 27, 2013)

Version 2.3 (released August 31, 2012)

Version 2.2.2 (released July 18, 2012)

Version 2.2.1 (released July 11, 2012)

Version 2.2 (released June 22, 2012)

Version 2.1.1 (released May 24, 2012)

Version 2.1.0 (released May 23, 2012)

Version 2.0.4 (released May 1, 2012)

Version 2.0.3 (released Apr 26, 2012)

Version 2.0.2 (released Apr 25, 2012)