{"id":18342555,"url":"https://github.com/bmuschko/gradle-cloudbees-plugin","last_synced_at":"2025-07-29T10:33:54.935Z","repository":{"id":7187130,"uuid":"8490224","full_name":"bmuschko/gradle-cloudbees-plugin","owner":"bmuschko","description":"Gradle plugin that provides support for managing applications and databases on CloudBees RUN@cloud","archived":false,"fork":false,"pushed_at":"2013-11-22T12:52:37.000Z","size":282,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-17T00:33:16.797Z","etag":null,"topics":["cloudbees","deployment","gradle-plugin"],"latest_commit_sha":null,"homepage":"","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bmuschko.png","metadata":{"files":{"readme":"README.asciidoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-28T23:12:30.000Z","updated_at":"2017-02-13T20:53:31.000Z","dependencies_parsed_at":"2022-09-16T02:00:58.732Z","dependency_job_id":null,"html_url":"https://github.com/bmuschko/gradle-cloudbees-plugin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bmuschko/gradle-cloudbees-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmuschko%2Fgradle-cloudbees-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmuschko%2Fgradle-cloudbees-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmuschko%2Fgradle-cloudbees-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmuschko%2Fgradle-cloudbees-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmuschko","download_url":"https://codeload.github.com/bmuschko/gradle-cloudbees-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmuschko%2Fgradle-cloudbees-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267670412,"owners_count":24125133,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudbees","deployment","gradle-plugin"],"created_at":"2024-11-05T20:31:32.590Z","updated_at":"2025-07-29T10:33:54.910Z","avatar_url":"https://github.com/bmuschko.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"Gradle CloudBees plugin\n=======================\n\nimage:https://jenkins-ci.org/sites/default/files/images/CloudBees-logo.thumbnail.png[CloudBees Logo]\n\n|=======\n|The development of this plugin has been taken over by CloudBees. Please refer to its new GitHub repository link:https://github.com/CloudBees-community/gradle-cloudbees-plugin[CloudBees-community/gradle-cloudbees-plugin]. Development on this repository is discontinued.\n|=======\n\nThe plugin provides support for managing applications and databases on link:http://www.cloudbees.com/run.cb[CloudBees RUN@cloud].\nUnder covers the plugin communicates with the CloudBees backend via the link:https://github.com/cloudbees/cloudbees-api-client[CloudBees API client].\nThe code of the plugin is featured in chapter 8 of the book link:http://www.manning.com/muschko[\"Gradle in Action\"] published by Manning.\n\n== Usage\n\nTo use the CloudBees plugin, include in your build script:\n\n[source,groovy]\n----\napply plugin: 'cloudbees'\n----\n\nThe plugin JAR needs to be defined in the classpath of your build script. It is directly available on\nlink:http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.gradle.api.plugins%22%20AND%20a%3A%22gradle-cloudbees-plugin%22[Maven Central].\nAlternatively, you can download it from GitHub and deploy it to your local repository. The following code snippet shows an\nexample on how to retrieve it from Maven Central:\n\n[source,groovy]\n----\nbuildscript {\n    repositories {\n        mavenCentral()\n    }\n\n    dependencies {\n        classpath 'org.gradle.api.plugins:gradle-cloudbees-plugin:0.1'\n    }\n}\n----\n\n== Tasks\n\nThe CloudBees plugin defines the following tasks:\n\n=== Application tasks\n\n[options=\"header\"]\n|=======\n|Task name               |Depends on |Type                    |Description\n|`cloudBeesAppChecksums` |-          |CloudBeesAppChecksums   |Returns the checksums for an application.\n|`cloudBeesAppDelete`    |-          |CloudBeesAppDelete      |Deletes an application.\n|`cloudBeesAppDeployEar` |-          |CloudBeesAppDeployEar   |Deploys a new version of an application using a EAR file.\n|`cloudBeesAppDeployWar` |-          |CloudBeesAppDeployWar   |Deploys a new version of an application using a WAR file.\n|`cloudBeesAppInfo`      |-          |CloudBeesAppInfo        |Returns the basic information about an application.\n|`cloudBeesAppList`      |-          |CloudBeesAppList        |Returns the list of applications available to your account.\n|`cloudBeesAppRestart`   |-          |CloudBeesAppRestart     |Restarts all deployed instances of an application.\n|`cloudBeesAppStart`     |-          |CloudBeesAppStart       |Starts all deployed instances of an application.\n|`cloudBeesAppStop`      |-          |CloudBeesAppStop        |Stops all deployed instances of an application.\n|`cloudBeesAppTail`      |-          |CloudBeesAppTail        |Establishes a persistent connection to the application logs.\n|=======\n\n=== Database tasks\n\n[options=\"header\"]\n|=======\n|Task name           |Depends on |Type                |Description\n|`cloudBeesDbCreate` |-          |CloudBeesDbCreate   |Creates a new database.\n|`cloudBeesDbDrop`   |-          |CloudBeesDbDrop     |Drops a database.\n|`cloudBeesDbInfo`   |-          |CloudBeesDbInfo     |Returns information about connecting to a database.\n|`cloudBeesDbList`   |-          |CloudBeesDbList     |Returns a list of all the databases associated with your account.\n|=======\n\n== Extension properties\n\nThe CloudBees plugin defines the following extension properties in the `cloudBees` closure:\n\n[options=\"header\"]\n|=======\n|Property name |Type   |Default value                                  |Description\n|`apiFormat`   |String |`XML`                                          |The CloudBees API format.\n|`apiVersion`  |String |`1.0`                                          |The CloudBees API version.\n|`apiUrl`      |String |`https://api.cloudbees.com/api`                |The CloudBees API URL.\n|`apiKey`      |String |value of property named `cloudbees.api.key`    |The CloudBees API key.\n|`apiSecret`   |String |value of property named `cloudbees.api.secret` |The CloudBees API secret.\n|`appId`       |String |Not null                                       |The application identifier on CloudBees.\n|`dbId`        |String |Not null                                       |The database identifier on CloudBees.\n|=======\n\n=== Example\n\n[source,groovy]\n----\ncloudBees {\n    appId = 'gradle-in-action/to-do-app'\n    dbId = 'gradle-in-action/to-do-db'\n}\n\ncloudBeesAppDeployWar.message = project.version\n----\n\n== Setting API credentials\n\nIf you decide to use the properties `cloudbees.api.key` and `cloudbees.api.secret` to populate your API credentials it\nis recommended to set them in your `~/.gradle/gradle.properties` file. The following code snippet shows an example:\n\n[source,groovy]\n----\ncloudbees.api.key = yourApiKey\ncloudbees.api.secret = yourApiSecret\n----","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmuschko%2Fgradle-cloudbees-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmuschko%2Fgradle-cloudbees-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmuschko%2Fgradle-cloudbees-plugin/lists"}