ONAP CPS: performance test job - updates 08/18708/4
authorrobert.tomczyk <robert.tomczyk.est@gmail.com>
Wed, 28 Jun 2023 09:39:12 +0000 (10:39 +0100)
committerrobert.tomczyk <robert.tomczyk.est@gmail.com>
Wed, 28 Jun 2023 10:00:36 +0000 (11:00 +0100)
Change-Id: I158802c7cd9d064edf0c1ab9351014a56528a122

jjb/global/jjb-macros.yaml
jjb/onap/cps/cps-performance-test-jobs.yaml
jjb/onap/cps/cps-verify-jobs.yaml
jjb/onap/global-templates-onap-java.yaml

index f8c46cbdebc97c2f7e4139a0c6468c01d1ff5882..c1c6abea06f14e8cfa3b0b3663c5a46360e8d26b 100644 (file)
           default: ssh://$GERRIT_USER@gerrit.nordix.org:29418
           description: HTTPS URL of Project Repo on Nordix Gerrit to clone repo
 
-# Those parameters are used for ONAP java build jobs in Nordix environment.
-- parameter:
-    name: nordix-onap-java-build-parameters
-    parameters:
-      - string:
-          name: JAVA_HOME
-          default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64'
-          description: Java home
-      - string:
-          name: MVN_VERSION
-          default: '{mvn_version}'
-          description: Maven version
-      - string:
-          name: MVN_URL
-          default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip
-          description: URL to download Maven
-      - string:
-          name: MVN
-          default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
-          description: Path to mvn executable
-      - string:
-          name: MVN_SETTINGS_XML_VERSION
-          default: '{mvn_settings_xml_version}'
-          description: Commit ID of ONAP Oparent repository (https://git.onap.org/oparent/) to pull. Used for Maven settings file. Can be left blank to pull the latest version.
-      - string:
-          name: MVN_PARAMS
-          default: '{mvn_params}'
-          description: Maven build parameters
-      - string:
-          name: SUBDIRECTORY
-          default: '{subdirectory}'
-          description: Subdirectory of the workspace for which the pom.xml will be called. This allows the verify to be called against a specific directory
-
 - parameter:
     name: onap-gerrit-parameters
     parameters:
index 42dc03f170ddc52c2f71e79e299b156c27f0b1aa..d08f4f8e36ee3454774e4c4a1eab60a6e980b01e 100644 (file)
@@ -33,4 +33,4 @@
           jdk-version: java-11
 
     jobs:
-      - 'onap-{project-name}-{stream}-time-trigger-java'
+      - 'onap-{project-name}-{stream}-performance-test-java'
index 13bcb0e64ff710489eed49529ece30a0a8cc0015..a193dd0c9ab74570fb6671f1323f1e5cf3249323 100644 (file)
@@ -24,7 +24,6 @@
     name: cps-verify
     project: cps
     project-name: cps
-    mvn_params: "-P include-performance"
 
     stream:
       - 'master':
index a3b881c22274da632b2780eff71e778d88d56f05..e5d2f8441081005aa995bd45cfd060295b6424a9 100644 (file)
           project: 'onap/{project}'
           branch: '{branch}'
       - nordix-gerrit-parameters
-      - nordix-onap-java-build-parameters
+      - string:
+          name: JAVA_HOME
+          default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64'
+          description: Java home
+      - string:
+          name: MVN_VERSION
+          default: '{mvn_version}'
+          description: Maven version
+      - string:
+          name: MVN_URL
+          default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip
+          description: URL to download Maven
+      - string:
+          name: MVN
+          default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
+          description: Path to mvn executable
+      - string:
+          name: MVN_SETTINGS_XML_VERSION
+          default: '{mvn_settings_xml_version}'
+          description: Commit ID of ONAP Oparent repository (https://git.onap.org/oparent/) to pull. Used for Maven settings file. Can be left blank to pull the latest version.
+      - string:
+          name: MVN_PARAMS
+          default: '{mvn_params}'
+          description: Maven build parameters
+      - string:
+          name: SUBDIRECTORY
+          default: '{subdirectory}'
+          description: Subdirectory of the workspace for which the pom.xml will be called. This allows the verify to be called against a specific directory
 
     scm:
       - git-scm-gerrit:
@@ -42,7 +69,7 @@
           !include-raw-escape: ./verify-jobs.sh
 
 - job-template:
-    name: 'onap-{project-name}-{stream}-time-trigger-java'
+    name: 'onap-{project-name}-{stream}-performance-test-java'
     disabled_job_var: false
     node: onap-ubuntu1804
 
           project: 'onap/{project}'
           branch: '{branch}'
       - nordix-gerrit-parameters
-      - nordix-onap-java-build-parameters
-
+      - string:
+          name: JAVA_HOME
+          default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64'
+          description: Java home
+      - string:
+          name: MVN_VERSION
+          default: '{mvn_version}'
+          description: Maven version
+      - string:
+          name: MVN_URL
+          default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip
+          description: URL to download Maven
+      - string:
+          name: MVN
+          default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
+          description: Path to mvn executable
+      - string:
+          name: MVN_SETTINGS_XML_VERSION
+          default: '{mvn_settings_xml_version}'
+          description: Commit ID of ONAP Oparent repository (https://git.onap.org/oparent/) to pull. Used for Maven settings file. Can be left blank to pull the latest version.
+      - string:
+          name: MVN_PARAMS
+          default: '{mvn_params}'
+          description: Maven build parameters
+      - string:
+          name: SUBDIRECTORY
+          default: '{subdirectory}'
+          description: Subdirectory of the workspace for which the pom.xml will be called. This allows the verify to be called against a specific directory
     scm:
       - git-scm-gerrit:
           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
           branch: '{branch}'
-          refspec: $GERRIT_REFSPEC
+          refspec: ''
           wipe_workspace: true
           clean_before: false