Comments

This post talks about how to build an Android Project using ant which depends on an Android Library project.

Add default.properties in the library project and add android.library=true in the same
Run the command in the main Android Project android update project –path . –library ../path-to-the-library/Note: This always has to be relative path.
Now running ant release should build the [...]

Continue Reading

Comments

This post talks about how to run tests for the build setup as mentioned in Part 1.
Generate the build script for test
The suggested practice is to have 2 separate projects for android, one the source and the other for the tests. The following command will generate a build.xml for the test project. Replace the with [...]

Continue Reading

Comments

We’ve set up our CI server for building android apps. We use Jenkins as our CI server, but the same steps can be applied to any CI server.
Setup Android Environment on CI server
You need to first install the android SDK and platform tools on the CI server. The steps are well defined here. You can run [...]

Continue Reading

Rebuilding in Jenkins

Published on 22 September 2011 by Leena in Continuous Delivery

Comments

One option that might be required after setting up a build pipeline is the provision to redeploy an earlier version by click of a button. This can become handy when we find a bug in the production and want to see when the bug got introduced. For that we will have to redeploy the earlier version [...]

Continue Reading

Comments

According to the book Continuous Delivery, the database also should be under version control, and Rails allows us to achieve this with ActiveRecord Migrations. Even though Capistrano can run the migrations automatically with its deploy command, its deploy:rollback task does not rollback the DB migrations automatically.  I’ve created a small capistrano recipe which can take care [...]

Continue Reading

Comments

One problem we faced with the pipeline setup what I had mentioned in my first post was that – it was not handling how to run the extra tasks that we need to do in some of the deployments. Some examples are:

Reindex the solr/lucene indexes if any new field has been added to the index
Some [...]

Continue Reading

Comments

Metrical is for easier metric_fu setup. You can see the details on why and how here. Its an awesome tool which allows us to easily use metric_fu without adding any dependency to the project code.
The steps I followed for setting it up in our Jenkins server are:

Install the gem. I installed it under our [...]

Continue Reading

Comments

There are many tools like Chef, Puppet etc. to manage the server configuration, but there are not many which do the reverse i.e. create a configuration from an existing server. Blueprint does exactly the latter.
Its a set of python scripts which reverse engineer your server configuration. It stores the configuration locally in its own repository, [...]

Continue Reading

Comments

When I tried to install Java in our EC2 micro instance, it stopped responding. There was no luck even after restarting the instance. I thought it might be a specific issue with that particular instance, so tried it again by bringing up a new micro instance and every time it was the same behaviour. I [...]

Continue Reading

Comments

As part of our journey towards implementing Continous Delivery, I’ve added the Build pipeline for our continous integration server Jenkins.  There are quite a few resources available on the net on how to add the plugin and configure it. This blog is not about how to configure the plugin, but more on how I’ve configured [...]

Continue Reading