E N D
CloudBees Toolkit for Eclipse – Java PaaS http://clean-clouds.com
What if like to be notified when someone commits to your repository? • HTML Format • 3 Mail IDs Configure: Email Notifications
Go to Window -> Preferences How to ADD SVN Repository in Eclipse?
<?xml version="1.0"?><cloudbees-web-appxmlns="http://www.cloudbees.com/xml/webapp/1"><!-- Application ID (formatted CB_ACCOUNT/APPNAME) --><appid>APP_ID</appid><!-- Extra context parameters --><context-param><param-name>PARAM_NAME</param-name><param-value>PARAM_VALUE</param-value></context-param><!-- DataSources (use names refererenced via <resource-ref> in WEB-INF/web.xml) --><resourcename="jdbc/DATASOURCE_NAME"auth="Container"type="javax.sql.DataSource"><paramname="username"value="DB_USER"/><paramname="password"value="DB_PASS"/><paramname="url"value="jdbc:cloudbees://DB_NAME"/></resource></cloudbees-web-app> CloudBees Web Configuration File
<?xml version="1.0"?><cloudbees-web-app xmlns="http://www.cloudbees.com/xml/webapp/1"><!-- context parameter --><context-param><param-name>accessKey</param-name><param-value>${key}</param-value></context-param><!-- Database resource --><resourcename="jdbc/myDB"auth="Container"type="javax.sql.DataSource"><paramname="username"value="${db.username}"/><paramname="password"value="${db.password}"/><paramname="url"value="jdbc:mysql://ec2.xyy:3306/myDB"/></resource></cloudbees-web-app> • An application deployed with this cloudbees-web.xml file is expecting to have three configuration parameters available at runtime (key, db.username, db.password) • # bees config:set key=r434133edt# bees config:set -a myappiddb.username=mydbuser# bees app:deploy -a myappid -P db.password=mydbpassword build/myapp.war Configuration Parameters