Create an account on CloudBees
https://grandcentral.cloudbees.com/account/signup
Download Bees SDK
curl -L cloudbees-downloads.s3.amazonaws.com/sdk/cloudbees-sdk-0.7.0-dist.zip > bees_sdk.zip
unzip bees_sdk.zip
rm bees_sdk.zip
cd cloudbees-sdk-0.7.0
export BEES_HOME=~/cloudbees-sdk-0.7.0
export PATH=$PATH:$BEES_HOME
Setup Bees Config
Install CloudBees Deployer Plugin
Jenkins->Configure screen
2. Check out repository
git clone git@github.com:vivek/samples.git
3. Deploy App to the PaaS
bees app:deploy -a yourdomain/jaxdemo target/myapp.war
4. Show Jenkins settings
- add repository location to "Repositories"
- Root POM: myapp/pom.xml
- Goals: clean compile install
3. Show Continuous Deployment Settings
- Configure CloudBees plugin
- CloudBees Site: your account
- Application ID: youraccount/myapp
- Filename pattern: myapp/**/*.war
4. Make change to the code and commit
0 comments:
Post a Comment