Archives June 2012

Python & Java: a unified build process (4/4)

In our previous blog posts dedicated to Python and Java (see the first, second and third, we saw how to get a fully functional build, release and deployment workflow with Maven.


It's now time to introduce Jenkins and see how can we put our sample project in integration.

First of all, Jenkins needs some parseable test results. In Java, the maven-surefire-plugin handles this by default. In Python, nose will generate them for us.

Modify setuptools/pom.xml to call python nosetests instead of python test on test phase:

 1 <execution>
 2   <id>setuptools test ...

Continue reading

Python & Java: a unified build process (3/4)

In our first blog post dedicated to Python and Java, we saw how Maven can orchestrate a unified build process for these two languages.

In the last one, we saw how to synchronize versions between Java projects and Python projects.

Now it's time to automate our release and deployment workflow:

  • create a tag for each release (on GitHub, see here to setup your Git environment),
  • deploy Java artifacts on a distant repository. We are using a Nexus instance configured with two hosted repositories (snapshots and releases, their names being quite straightforward) and a public group repository grouping the hosted ...

Continue reading

Daily archives

Previous month

May 2012

Next month

July 2012