File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
samples/kubernetes/end2end/demo-domains/domainBuilder Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 5
5
set -e # Exit immediately if a command exits with a non-zero status.
6
6
7
7
WDT_VERSION=0.24
8
+ MONITORING_EXPORTER_VERSION=1.1.0
8
9
9
10
CUR_DIR=" $( dirname " $( readlink -f " $0 " ) " ) " # get the absolute path of this file's folder
10
11
PRJ_ROOT=${CUR_DIR} /../../../../..
@@ -18,13 +19,14 @@ function createArchive() {
18
19
cd test-webapp && mvn clean install && cd ..
19
20
cp test-webapp/target/testwebapp.war ${TMP_DIR} /archive/wlsdeploy/applications/testwebapp.war
20
21
21
- echo ' Build the metrics exporter...'
22
+ echo " Download the metrics exporter webapp from ://github.com/oracle/weblogic-monitoring-exporter/releases/download/v${MONITORING_EXPORTER_VERSION} /get${MONITORING_EXPORTER_VERSION} .sh..."
23
+
22
24
cd $PRJ_ROOT
23
- mvn clean install
24
- cd webapp
25
- mvn clean package -Dconfiguration= ${CUR_DIR} /../../dashboard/exporter-config.yaml
25
+ wget https://github.com/oracle/weblogic-monitoring-exporter/releases/download/v ${MONITORING_EXPORTER_VERSION} /get ${MONITORING_EXPORTER_VERSION} .sh
26
+ bash get ${MONITORING_EXPORTER_VERSION} .sh ${CUR_DIR} /../../dashboard/exporter-config.yaml
27
+
26
28
cd $CUR_DIR
27
- cp $PRJ_ROOT /webapp/target/ wls-exporter.war \
29
+ cp $PRJ_ROOT /wls-exporter.war \
28
30
${TMP_DIR} /archive/wlsdeploy/applications/wls-exporter.war
29
31
30
32
echo ' Build the WDT archive...'
@@ -34,7 +36,7 @@ function createArchive() {
34
36
35
37
function cleanTmpDir() {
36
38
rm -rf ${CUR_DIR} /test-webapp/target
37
- rm -rf ${PRJ_ROOT} /webapp/target
39
+ rm -rf ${PRJ_ROOT} /wls-exporter.war
38
40
rm -rf ${TMP_DIR}
39
41
}
40
42
You can’t perform that action at this time.
0 commit comments