bazooka-ci / bazooka

Continuous Integration and Continuous Deployment Server
http://docs.bazooka-ci.io/
MIT License
60 stars 5 forks source link

Implement a build artifact archiving mechanism #147

Closed jawher closed 9 years ago

jawher commented 9 years ago

This feature relies on the following configuration keys:

The archived files are then exposed over http using the following endpoint:

bzk_server:3000/variant/{id}/artifacts/{path}

Where id is the variant id and path the path to an archived artifact.

Fixes #144

jawher commented 9 years ago

An example config for a java project:

language: java
jdk:
  - oraclejdk8
  - openjdk8
  - oraclejdk7
archive:
  - target/classes
archive_success: target/*.jar
archive_failure: 
  - target/surefire-reports
jawher commented 9 years ago

Just a note: the approach taken here, i.e. storing and serving the build artifacts from the filesystem, will be a problem for #71: distributed build since this pins a particular build to a particular machine.