Skip to content

Commit

Permalink
script
Browse files Browse the repository at this point in the history
  • Loading branch information
terrywbrady committed Jul 30, 2024
1 parent a339ee8 commit 9a987f7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bin/fresh_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -341,35 +341,35 @@ build_maven_artifacts() {
if check_maven_profile 'store'
then
mkdir -p $ARTIFACTS/mrt-store
cp $WKDIR/mrt-services/store/mrt-store/store-war/target/mrt-storewar-1.0-SNAPSHOT.war $ARTIFACTS/mrt-store/mrt-store-${TAG_PUB}.war
cp $WKDIR/mrt-services/store/mrt-store/store-war/target/mrt-storewar-*-SNAPSHOT.war $ARTIFACTS/mrt-store/mrt-store-${TAG_PUB}.war
jar uf $ARTIFACTS/mrt-store/mrt-store-${TAG_PUB}.war -C ${WKDIR_PAR} ${BUILD_TXT_FILE}
fi

if check_maven_profile 'replic'
then
mkdir -p $ARTIFACTS/mrt-replic
cp $WKDIR/mrt-services/replic/mrt-replic/replication-war/target/mrt-replicationwar-1.0-SNAPSHOT.war $ARTIFACTS/mrt-replic/mrt-replic-${TAG_PUB}.war
cp $WKDIR/mrt-services/replic/mrt-replic/replication-war/target/mrt-replicationwar-*-SNAPSHOT.war $ARTIFACTS/mrt-replic/mrt-replic-${TAG_PUB}.war
jar uf $ARTIFACTS/mrt-replic/mrt-replic-${TAG_PUB}.war -C ${WKDIR_PAR} ${BUILD_TXT_FILE}
fi

if check_maven_profile 'ingest'
then
mkdir -p $ARTIFACTS/mrt-ingest
cp $WKDIR/mrt-services/ingest/mrt-ingest/ingest-war/target/mrt-ingestwar-1.0-SNAPSHOT.war $ARTIFACTS/mrt-ingest/mrt-ingest-${TAG_PUB}.war
cp $WKDIR/mrt-services/ingest/mrt-ingest/ingest-war/target/mrt-ingestwar-*-SNAPSHOT.war $ARTIFACTS/mrt-ingest/mrt-ingest-${TAG_PUB}.war
jar uf $ARTIFACTS/mrt-ingest/mrt-ingest-${TAG_PUB}.war -C ${WKDIR_PAR} ${BUILD_TXT_FILE}
fi

if check_maven_profile 'audit'
then
mkdir -p $ARTIFACTS/mrt-audit
cp $WKDIR/mrt-services/audit/mrt-audit/audit-war/target/mrt-auditwarpub-1.0-SNAPSHOT.war $ARTIFACTS/mrt-audit/mrt-audit-${TAG_PUB}.war
cp $WKDIR/mrt-services/audit/mrt-audit/audit-war/target/mrt-auditwarpub-*-SNAPSHOT.war $ARTIFACTS/mrt-audit/mrt-audit-${TAG_PUB}.war
jar uf $ARTIFACTS/mrt-audit/mrt-audit-${TAG_PUB}.war -C ${WKDIR_PAR} ${BUILD_TXT_FILE}
fi

if check_maven_profile 'inventory'
then
mkdir -p $ARTIFACTS/mrt-inventory
cp $WKDIR/mrt-services/inventory/mrt-inventory/inv-war/target/mrt-invwar-1.0-SNAPSHOT.war $ARTIFACTS/mrt-inventory/mrt-inventory-${TAG_PUB}.war
cp $WKDIR/mrt-services/inventory/mrt-inventory/inv-war/target/mrt-invwar-*-SNAPSHOT.war $ARTIFACTS/mrt-inventory/mrt-inventory-${TAG_PUB}.war
jar uf $ARTIFACTS/mrt-inventory/mrt-inventory-${TAG_PUB}.war -C ${WKDIR_PAR} ${BUILD_TXT_FILE}
fi
fi
Expand Down

0 comments on commit 9a987f7

Please sign in to comment.