diff options
Diffstat (limited to 'docker-build.sh')
-rw-r--r-- | docker-build.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docker-build.sh b/docker-build.sh new file mode 100644 index 0000000..98ac4e8 --- /dev/null +++ b/docker-build.sh @@ -0,0 +1,13 @@ +#! /bin/bash +mkdir /app +echo "Preparing to Copy" +shopt -s extglob +cp -r /data/!(run|eclipse|mock) /app +echo "Done Copying" +cd /app/ || exit +ls -l +echo "Beginning Build" +./gradlew build +echo "Build finished" +ls /app/build/libs +cp /app/build/libs/* /artifacts/
\ No newline at end of file |