With CloudBees now supporting deployment of Java applications, is it possible to use the post-build action in Jenkins "Deploy to CloudBees" to deploy your app? Furthermore, I'd like to use the Maven assembly plugin's jar-with-dependencies goal so that I can simply and automatically deploy my entire app to CloudBees right through Jenkins.
相关问题
- Multi-tenant application on CloudBees with multipl
- Jenkins Groovy Remove user access from Project Mat
- Jenkins: Use Archived Artifact in Promoted Build
- Load file from '/conf' directory on Cloudb
- Git environment variables for use in executing Jen
相关文章
- Jenkins Groovy Remove user access from Project Mat
- Jenkins: Use Archived Artifact in Promoted Build
- Load file from '/conf' directory on Cloudb
- Git environment variables for use in executing Jen
- CloudBees的:App Engine的部署与GAE SDK V1.8失败(Cloudbees:
- 我们如何访问詹金斯的工作流的输入参数值?(How do we access Jenkins work
- CloudBees的:App Engine的部署失败(Cloudbees: App Engine D
- 使用不同的PaaS解决方案的网络延迟(Network latency with using diff
While the current CloudBees deployer Jenkins plugin appears to not support this, in fact it does. Here are the steps that after much trial and error worked for me:
<goal>single</goal>
and<descriptorRef>jar-with-dependencies</descriptorRef>
described here. That will put an additional jar file in your target folder{artifactId}-{version}-jar-with-dependencies.jar
Once you have it setup correctly and deployed initially with the bees sdk, it should just deploy from the deployer plugin on Jenkins as a war normally would.
Once set up, the settings that define where your main class is persist between deploys.