axiomzen / zest

Tests with a twist
2 stars 0 forks source link

Pre/Post build hooks #10

Closed chrisaxiom closed 8 years ago

chrisaxiom commented 8 years ago

For Java, there are some secrets that you need to pass to the build container. This could be accomplished via a pre and post build step. For example:

Pre: create a temporary settings.xml with embedded secrets derived from local environment variables. ./create_settings.sh

Build: cp settings.xml $MAVEN_CONFIG/settings.xml

Post: rm settings.xml

chrisaxiom commented 8 years ago

Merged with #13