Unverified Commit bc341309 by Benedikt Ritter Committed by GitHub

Merge pull request #12 from svettwer/feature/incremental-builds

Added incremental builds
parents 0e436dc6 d588555a
...@@ -2,6 +2,11 @@ ...@@ -2,6 +2,11 @@
set -e set -e
echo "---> Restore build artifacts"
if [ "$(ls /tmp/artifacts/.m2 2>/dev/null)" ]; then
mv /tmp/artifacts/.m2 $HOME
fi
echo "---> Installing application source" echo "---> Installing application source"
cp -Rf /tmp/src/. ./ cp -Rf /tmp/src/. ./
......
#!/bin/bash
pushd ${HOME} > /dev/null
if [ -d .m2 ]; then
tar cf - .m2
fi
popd > /dev/null
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment