Remove job specific Coverity parameters from build parameters. 03/89703/2
authorArtem Naluzhnyy <A.Naluzhnyy@samsung.com>
Tue, 11 Jun 2019 13:38:27 +0000 (15:38 +0200)
committerArtem Naluzhnyy <a.naluzhnyy@samsung.com>
Tue, 11 Jun 2019 16:58:58 +0000 (16:58 +0000)
All builds of a job should have the same Coverity parameters.

Issue-ID: CIMAN-260
Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com>
Change-Id: I94be00a5ec044f576b9fe0c5d3b8c642e1921a79

jjb/ci-management/ci-management-coverity.yaml

index deae32a..c4c4548 100644 (file)
           name: ARCHIVE_ARTIFACTS
           default: '{archive-artifacts}'
           description: Artifacts to archive to the logs server.
-      - string:
-          name: COVERITY_PROJECT_NAME
-          default: '{coverity-project-name}'
-          description: |
-              Project name in Coverity Scan service.
-      - string:
-          name: COVERITY_TOKEN
-          default: '{coverity-token}'
-          description: |
-              Project token in Coverity Scan service.
-      - string:
-          name: COVERITY_USER_EMAIL
-          default: '{coverity-user-email}'
-          description: |
-              Email of registered user in Coverity Scan service who initiated
-              the submittion.
 
     triggers:
       - timed: '{obj:cron}'
       - lf-provide-maven-settings:
           global-settings-file: global-settings
           settings-file: '{mvn-settings}'
+      - inject:
+          properties-content: |
+            COVERITY_PROJECT_NAME={coverity-project-name}
+            COVERITY_TOKEN={coverity-token}
+            COVERITY_USER_EMAIL={coverity-user-email}
       - shell: !include-raw-escape:
           - ../../global-jjb/shell/common-variables.sh
           - ../../shell/maven-coverity.sh