Remove MaxPermSize jvm arg
- starting from jdk 8 the arg has been deprecated
- this fixes all broken sonar jobs [1]
[1] check the 'last analysis' on the [sonarcloud.io page](https://sonarcloud.io/organizations/onap/projects)
Issue-ID: AAI-4027
Change-Id: I5919db4501cd465d28589a467d9d33a47cab6a37
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
diff --git a/jjb/multicloud/multicloud-openstack.yaml b/jjb/multicloud/multicloud-openstack.yaml
index dc58c11..b727ee3 100644
--- a/jjb/multicloud/multicloud-openstack.yaml
+++ b/jjb/multicloud/multicloud-openstack.yaml
@@ -58,7 +58,7 @@
mvn-params: "-f windriver/pom.xml"
mvn-settings: "multicloud-openstack-settings"
mvn-goals: "clean install"
- mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
+ mvn-opts: "-Xmx1024m -XX:MaxMetaspaceSize=256m"
- project:
name: multicloud-openstack-pike-sonar
@@ -75,7 +75,7 @@
mvn-params: "-f pike/pom.xml"
mvn-settings: "multicloud-openstack-settings"
mvn-goals: "clean install"
- mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
+ mvn-opts: "-Xmx1024m -XX:MaxMetaspaceSize=256m"
- project:
name: multicloud-openstack-starlingx-sonar
@@ -92,7 +92,7 @@
mvn-params: "-f starlingx/pom.xml"
mvn-settings: "multicloud-openstack-settings"
mvn-goals: "clean install"
- mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
+ mvn-opts: "-Xmx1024m -XX:MaxMetaspaceSize=256m"
- project:
name: multicloud-openstack-clm
@@ -122,7 +122,7 @@
mvn-params: "-f fcaps/pom.xml"
mvn-settings: "multicloud-openstack-settings"
mvn-goals: "clean install"
- mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
+ mvn-opts: "-Xmx1024m -XX:MaxMetaspaceSize=256m"
- project:
name: multicloud-openstack-hpa-sonar
@@ -139,4 +139,4 @@
mvn-params: "-f hpa/pom.xml"
mvn-settings: "multicloud-openstack-settings"
mvn-goals: "clean install"
- mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
+ mvn-opts: "-Xmx1024m -XX:MaxMetaspaceSize=256m"