1. Make sure you have an account on Cloudbees and that you have suscribed to the basic Dev@Cloud and Run@Cloud services.
2. Create a new Java project by selecting Java Project in the File/New menu.
3. Select the Java application you just created and in the Cloudbees menu, select Initialize Application. You will be asked for your Cloudbees Login and Password.
4. Choose the Cloudbees domain you want to deploy to and give a name to your application. This will initialize your application on Run@Cloud.
5. We now need to push our code to a remote repository, in order to build it on Dev@Cloud. For this, we will use GitHub as an intermediary. Start by initializing a Git repository on your project (Git menu-> Initialize repository).
6. If you haven't set up your GitHub account to work with your IDE yet, generate a new SSH key for github.com and copy the public key to your GitHub account (Account Settings).
7. Create a new repository in GitHub and copy the SSH url.
8. Back in the IDE, in the Git/Remote/Remotes menu, add GitHub as a remote repository and paste the SSH url.
9. Push you project to GitHub.
10. Go to your Cloudbees Jenkins dashboard (https://yourname.ci.cloudbees.com/) and create a new Job.
11. Choose a Job name, select Maven project and continue to the next screen.
12. In the "Source Code Management" section, select Git. Insert the URL of the GitHub repository.
13. Copy the SSH public key that Cloudbees generated to your GitHub account (Account Settings).
14. In the "Post-build Actions" section, select Cloudbees Deployment and enter the Application Id that you had chosen when initializing the application.
15. Launch the build. Once built, the application will be deployed to Run@Cloud.
Contact Us
Questions about eXo products and services? Talk to sales.
Follow Us
eXo Newsletter
Subscribe to our newsletter and keep up with the latest eXo news and events.