This page should redirect to https://www.jetbrains.com/idea/help/run-debug-configuration-cloudbees-server.html.
Before you perform this tutorial please make sure CloudBees integration plugin is enabled in the settings.
Now let’s create a simple web application via New Project wizard.
Go to Settings → Application Servers and add CloudBees server. You should specify domain, your username and password.
Before you are able to test connection, click to download the libraries.
By default IntelliJ IDEA sets Exploded type for new artifacts. Since CloudBees requires a WAR archive, go to in Project Structure → Artifacts and modify the type of artifact to Archive.
Keep also in mind, that artifact name is used as a context name for application, so it should be unique.
Now we open to Run → Edit Configurations and add CloudBees configuration. On Deployment tab you should select your artifact. The IDE will automatically set Startup page.
After we added a run configuration, CloudBees application server must appear in Application Servers tool window. You can view the list of configured servers and deployed applications, and deploy and undeploy artifacts.
Click Run/Connect button to connect to the server and deploy the application.
After the connection set up you will be able to see the logs of your application in Run tool window.
Check the status of your application in Application Servers tool window.