Run > Deploy to cloud : Changed?

Hi
For deployment to jelastoic cloud, i see there is no such option Run > Deploy to cloud : Changed in 6.4, though the documentation says so. Is it now run > deploy. When I have checked cloud deploy in deployement setting will this be deployed to cloud? I am trying but the war file is not uploaded. It shows running and when i click on the cloud link, it takes me to tomcat page.

Hi,

The Deploy to cloud menu item appears when Jelastic deployment is configured.
Look at your build.gradle, if there exist jelasticBuildWar and jelasticDeployWar the corresponding menu item should be available.


task jelasticBuildWar(type: CubaWarBuilding) {
    appHome = '..'
    webXmlPath = 'modules/web/web/WEB-INF/single-war-web.xml'
    appProperties = ['cuba.automaticDatabaseUpdate' : true]
    includeJdbcDriver = true
    includeContextXml = true
    hsqlInProcess = true
}

task jelasticDeployWar(type: CubaJelasticDeploy, dependsOn: jelasticBuildWar) {
    email = rootProject.hasProperty('jelasticEmail') ? rootProject['jelasticEmail'] : ''
    password = rootProject.hasProperty('jelasticPassword') ? rootProject['jelasticPassword'] : ''
    hostUrl = 'app.j.xxxxxxxx.xxx'
    environment = 'XXXXX'
}