Checkout Cloudbees Maven Demo

git clone git@github.com:sourcesense/cloudbees-maven-demo.git

For more info, check the github project page

From commandline

export BEES_APIKEY= <your_api_key>
export BEES_SECRET = <your_secret_key>

Edit pom.xml

  • <bees.appid>, defined as [account_id]/[application_id] (example: maoo/testme)
  • your <scm> data
  • your <distributionManagement> data

Commit/push in your repo

git add pom.xml && git commit -m 'comment' && git push

Run Maven commands

mvn bees:run - check http://localhost:8085
mvn site:run - check http://localhost:8080
mvn deploy - check https://repository-<account_id>.forge.cloudbees.com/snapshot (use <account_id> as username)
mvn bees:deploy - check http://<application_id>.<account_id>.cloudbees.net
mvn release:prepare release:perform - check https://repository-<account_id>.forge.cloudbees.com/release