-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathbuild-all-java.sh
executable file
·68 lines (63 loc) · 1.2 KB
/
build-all-java.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/bin/bash
set -e
set -u
cp -L -f ./JeMPI_Configuration/config-api.json ./JeMPI_API/src/main/resources/config-api.json
cp -L -f ./JeMPI_Configuration/config-api.json ./JeMPI_API_KC/src/main/resources/config-api.json
CI=${CI:-false}
if [ $# -eq 0 ]; then
tag_to_use="ci-test-main"
else
tag_to_use=$1
fi
mvn clean package
pushd JeMPI_EM_Scala
sbt clean assembly
popd
pushd JeMPI_AsyncReceiver
$CI TAG=$tag_to_use ./build.sh || exit 1
popd
pushd JeMPI_ETL
$CI TAG=$tag_to_use ./build.sh || exit 1
popd
pushd JeMPI_Controller
$CI TAG=$tag_to_use ./build.sh || exit 1
popd
pushd JeMPI_EM_Scala
$CI TAG=$tag_to_use ./build.sh || exit 1
popd
pushd JeMPI_Linker
$CI TAG=$tag_to_use ./build.sh || exit 1
popd
pushd JeMPI_API
$CI TAG=$tag_to_use ./build.sh || exit 1
popd
pushd JeMPI_API_KC
$CI TAG=$tag_to_use ./build.sh || exit 1
popd
pushd JeMPI_Bootstrapper
$CI TAG=$tag_to_use ./build.sh || exit 1
popd
pushd JeMPI_AsyncReceiver
./push.sh
popd
pushd JeMPI_ETL
./push.sh
popd
pushd JeMPI_Controller
./push.sh
popd
pushd JeMPI_EM_Scala
./push.sh
popd
pushd JeMPI_Linker
./push.sh
popd
pushd JeMPI_API
./push.sh
popd
pushd JeMPI_API_KC
./push.sh
popd
pushd JeMPI_Bootstrapper
./push.sh
popd