summaryrefslogtreecommitdiffstats
path: root/cmso-robot/docker/cmso-service/cmso-optimizer/etc/startJacocoService.sh
diff options
context:
space:
mode:
authorJerry Flood <jflood@att.com>2019-04-17 14:54:16 -0400
committerJerry Flood <jflood@att.com>2019-04-17 14:54:27 -0400
commitf51670bdc0a71789176ef7b29c8fb72d0c3e43d5 (patch)
tree981b74f53f647410871fae8bba94275d1eee2224 /cmso-robot/docker/cmso-service/cmso-optimizer/etc/startJacocoService.sh
parent52383d23af47d2c27121486d38d5728b90263e18 (diff)
Add cmso-sonar to generate jacoco files
Issue-ID: OPTFRA-474 Change-Id: I0a1cd03708fda09255ada655df727acfa7498d09 Signed-off-by: Jerry Flood <jflood@att.com>
Diffstat (limited to 'cmso-robot/docker/cmso-service/cmso-optimizer/etc/startJacocoService.sh')
-rw-r--r--cmso-robot/docker/cmso-service/cmso-optimizer/etc/startJacocoService.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/cmso-robot/docker/cmso-service/cmso-optimizer/etc/startJacocoService.sh b/cmso-robot/docker/cmso-service/cmso-optimizer/etc/startJacocoService.sh
deleted file mode 100644
index 0db6f1f..0000000
--- a/cmso-robot/docker/cmso-service/cmso-optimizer/etc/startJacocoService.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-apt update
-apt install wget
-apt install unzip --assume-yes
-wget http://repo1.maven.org/maven2/org/jacoco/org.jacoco.agent/0.8.2/org.jacoco.agent-0.8.2.jar
-unzip org.jacoco.agent-0.8.2.jar
-cp org.jacoco.agent-0.8.2/jacocoagent.jar .
-ls -l
-
-VM_ARGS="${VM_ARGS} -javaagent:./jacocoagent.jar=destfile=/share/logs/jacoco.exec,dumponexit=true,jmx=true,append=true,output=file,includes=org.onap.optf.cmso.*"
-
-echo "VM_ARGS=${VM_ARGS}"
-
-java -Djava.security.egd=file:/dev/./urandom -Xms256m -Xmx1024m ${VM_ARGS} -jar ./app.jar