Closed chrisaxiom closed 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
settings.xml
./create_settings.sh
Build: cp settings.xml $MAVEN_CONFIG/settings.xml
cp settings.xml $MAVEN_CONFIG/settings.xml
Post: rm settings.xml
rm settings.xml
Merged with #13
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