NoIssue: Fix for build, run and publish
This commit is contained in:
11
build.sh
11
build.sh
@@ -13,13 +13,14 @@ export VERSION_LONG=${VERSION}_${GITHASH}
|
||||
|
||||
# Build this artifact
|
||||
echo "Building 'NenjimHub v${VERSION_LONG}'..."
|
||||
./gradlew -Pversion=$VERSION jar prepareDockerLibs
|
||||
./gradlew -Pversion=$VERSION jar prepareLibs
|
||||
|
||||
# Prepare container dependencies
|
||||
mkdir -p build/docker/conf
|
||||
mkdir -p build/docker/{conf,libs}
|
||||
cd build/docker
|
||||
cp ../../src/main/docker/start.sh start.sh
|
||||
cp ../libs/hubd-impl-ref-*.jar libs
|
||||
cp ../../conf/* conf
|
||||
cp ../../src/main/docker/run.sh run.sh
|
||||
cp ../libs/*.jar libs/
|
||||
cp ../../conf/* conf/
|
||||
sed -e "s|_VERSION_|${VERSION}|g" \
|
||||
-e "s|_JREVERSION_|${JREVERSION}|g" \
|
||||
../../src/main/docker/Dockerfile_template > Dockerfile
|
||||
|
||||
Reference in New Issue
Block a user