Merge "Revert "Migrate cicn job templates to global-jjb""
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Thu, 30 May 2019 23:50:48 +0000 (23:50 +0000)
committerGerrit Code Review <gerrit@fd.io>
Thu, 30 May 2019 23:50:48 +0000 (23:50 +0000)
jjb/cicn/cicn.yaml
jjb/global-defaults.yaml

index 4e7acab..2cff11d 100644 (file)
           branch: 'cframework/master'
           repo-stream-part: 'master'
 
-    archive-artifacts: >
-      **/*.rpm
-      **/*.deb
-      **/*.tar
-
     type:
       - short
       - long
           branch: 'cframework/master'
           repo-stream-part: 'master'
 
-    archive-artifacts: >
-      **/*.rpm
-      **/*.deb
-      **/*.tar
-
     type:
       - short
       - long
           branch: 'ccnxlibs/master'
           repo-stream-part: 'master'
 
-    archive-artifacts: >
-      **/*.rpm
-      **/*.deb
-      **/*.tar
-
     type:
       - short
       - long
           branch: 'ccnxlibs/master'
           repo-stream-part: 'master'
 
-    archive-artifacts: >
-      **/*.rpm
-      **/*.deb
-      **/*.tar
-
     type:
       - short
       - long
           branch: 'libicnet/master'
           repo-stream-part: 'master'
 
-    archive-artifacts: >
-      **/*.rpm
-      **/*.deb
-      **/*.tar
-
     type:
       - short
       - long
           branch: 'sb-forwarder/master'
           repo-stream-part: 'master'
 
-    archive-artifacts: >
-      **/*.rpm
-      **/*.deb
-      **/*.tar
-
     type:
       - short
       - long
           branch: 'http-server/master'
           repo-stream-part: 'master'
 
-    archive-artifacts: >
-      **/*.rpm
-      **/*.deb
-      **/*.tar
-
     type:
       - short
       - long
           branch: 'cicn-plugin/master'
           repo-stream-part: 'master'
 
-    archive-artifacts: >
-      **/*.rpm
-      **/*.deb
-      **/*.tar
-
     type:
       - short
       - long
           branch: 'viper/master'
           repo-stream-part: 'master'
 
-    archive-artifacts: >
-      **/*.rpm
-      **/*.deb
-      **/*.tar
-
     type:
       - short
       - long
           branch: 'vicn/master'
           repo-stream-part: 'master'
 
-    archive-artifacts: >
-      **/*.rpm
-      **/*.deb
-      **/*.tar
-
     type:
       - short
       - long
           branch: 'android-sdk/master'
           repo-stream-part: 'master'
 
-    archive-artifacts: >
-      **/*.rpm
-      **/*.deb
-      **/*.tar
-      **/*.apk
-
     type:
       - short
       - long
           branch: 'vicn/master'
           repo-stream-part: 'master'
 
-    archive-artifacts: >
-      **/*.rpm
-      **/*.deb
-      **/*.tar
-
     type:
       - short
       - long
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: 'release'
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
+      - os-parameter:
+          os: '{os}'
       - maven-project-parameter:
           maven: 'mvn33-new'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - os-parameter:
-          description: Operating system.
-          os: '{os}'
       - repo-name-parameter:
           repo-name: '{repo-stream-part}.{repo-os-part}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
+      - stream-parameter:
+          stream: 'release'
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - config-file-provider:
           files:
             - file-id: '.packagecloud'
           - ../scripts/packagecloud_push.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/longbow/build/*.rpm,
+            **/longbow/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-longbow-verify-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: '{stream}'
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
       - os-parameter:
-          description: Operating system.
           os: '{os}'
 
     scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - shell:
           !include-raw-escape:
           - include-raw-cicn-longbow-build.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/longbow/build/*.rpm,
+            **/longbow/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-longbow-docs-merge-{stream}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: '{stream}'
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
             notbuilt: true
 
     builders:
-      - lf-infra-pre-build
       - maven-target:
           maven-version: 'mvn33-new'
           goals: '--version'
           - include-raw-cicn-longbow-docs.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: 'longbow/build/documentation/*.tar'
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-longbow-docs-verify-{stream}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: '{stream}'
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - maven-target:
           maven-version: 'mvn33-new'
           goals: '--version'
           - include-raw-cicn-longbow-docs.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: 'longbow/build/documentation/*.tar'
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-libparc-merge-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: 'release'
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
+      - os-parameter:
+          os: '{os}'
       - maven-project-parameter:
           maven: 'mvn33-new'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - os-parameter:
-          description: Operating system.
-          os: '{os}'
       - repo-name-parameter:
           repo-name: '{repo-stream-part}.{repo-os-part}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
+      - stream-parameter:
+          stream: 'release'
 
     scm:
       - gerrit-trigger-scm:
           result: 'failure'
 
     builders:
-      - lf-infra-pre-build
       - config-file-provider:
           files:
             - file-id: '.packagecloud'
           - ../scripts/packagecloud_push.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/libparc/build/*.rpm,
+            **/libparc/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-libparc-verify-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: ''
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
-      - maven-project-parameter:
-          maven: 'mvn33-new'
-      - maven-exec:
-          maven-version: 'mvn33-new'
       - os-parameter:
-          description: Operating system.
           os: '{os}'
-      - repo-name-parameter:
-          repo-name: '{repo-stream-part}.{repo-os-part}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - shell:
           !include-raw-escape:
           - include-raw-cicn-libparc-build.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/libparc/build/*.rpm,
+            **/libparc/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-libparc-docs-merge-{stream}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: ''
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
-      - maven-project-parameter:
-          maven: 'mvn33-new'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
             notbuilt: true
 
     builders:
-      - lf-infra-pre-build
       - maven-target:
           maven-version: 'mvn33-new'
           goals: '--version'
           - include-raw-cicn-libparc-docs.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: 'libparc/build/documentation/*.tar'
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-libparc-docs-verify-{stream}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: ''
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - maven-target:
           maven-version: 'mvn33-new'
           goals: '--version'
           - include-raw-cicn-libparc-docs.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: 'libparc/build/documentation/*.tar'
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 
 - job-template:
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: 'master'
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
+      - os-parameter:
+          os: '{os}'
       - maven-project-parameter:
           maven: 'mvn33-new'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - os-parameter:
-          description: Operating system.
-          os: '{os}'
       - repo-name-parameter:
           repo-name: '{repo-stream-part}.{repo-os-part}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
+      - stream-parameter:
+          stream: 'master'
 
     scm:
       - gerrit-trigger-scm:
           result: 'failure'
 
     builders:
-      - lf-infra-pre-build
       - config-file-provider:
           files:
             - file-id: '.packagecloud'
           - ../scripts/packagecloud_push.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/libccnx-common/build/*.rpm,
+            **/libccnx-common/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-libccnx-common-verify-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: ''
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
       - os-parameter:
-          description: Operating system.
           os: '{os}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - shell:
           !include-raw-escape:
           - include-raw-cicn-libccnx-common-build.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/libccnx-common/build/*.rpm,
+            **/libccnx-common/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-libccnx-transport-rta-merge-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: 'master'
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
+      - os-parameter:
+          os: '{os}'
       - maven-project-parameter:
           maven: 'mvn33-new'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - os-parameter:
-          description: Operating system.
-          os: '{os}'
       - repo-name-parameter:
           repo-name: '{repo-stream-part}.{repo-os-part}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
+      - stream-parameter:
+          stream: 'master'
 
     scm:
       - gerrit-trigger-scm:
           result: 'failure'
 
     builders:
-      - lf-infra-pre-build
       - config-file-provider:
           files:
             - file-id: '.packagecloud'
           - ../scripts/packagecloud_push.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/libccnx-transport-rta/build/*.rpm,
+            **/libccnx-transport-rta/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-libccnx-transport-rta-verify-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: ''
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
       - os-parameter:
-          description: Operating system.
           os: '{os}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - shell:
           !include-raw-escape:
           - include-raw-cicn-libccnx-transport-rta-build.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          # yamllint disable-line rule:line-length
+          artifacts: >
+            **/libccnx-transport-rta/build/*.rpm,
+            **/libccnx-transport-rta/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-libccnx-portal-merge-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: 'master'
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
+      - os-parameter:
+          os: '{os}'
       - maven-project-parameter:
           maven: 'mvn33-new'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - os-parameter:
-          description: Operating system.
-          os: '{os}'
       - repo-name-parameter:
           repo-name: '{repo-stream-part}.{repo-os-part}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
+      - stream-parameter:
+          stream: 'master'
 
     scm:
       - gerrit-trigger-scm:
           result: 'failure'
 
     builders:
-      - lf-infra-pre-build
       - config-file-provider:
           files:
             - file-id: '.packagecloud'
           - ../scripts/packagecloud_push.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/libccnx-portal/build/*.rpm,
+            **/libccnx-portal/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-libccnx-portal-verify-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: ''
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
       - os-parameter:
-          description: Operating system.
           os: '{os}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - shell:
           !include-raw-escape:
           - include-raw-cicn-libccnx-portal-build.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/libccnx-portal/build/*.rpm,
+            **/libccnx-portal/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-libicnet-merge-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: 'master'
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
+      - os-parameter:
+          os: '{os}'
       - maven-project-parameter:
           maven: 'mvn33-new'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - os-parameter:
-          description: Operating system.
-          os: '{os}'
       - repo-name-parameter:
           repo-name: '{repo-stream-part}.{repo-os-part}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
+      - stream-parameter:
+          stream: 'master'
 
     scm:
       - gerrit-trigger-scm:
           result: 'failure'
 
     builders:
-      - lf-infra-pre-build
       - config-file-provider:
           files:
             - file-id: '.packagecloud'
           - ../scripts/packagecloud_push.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/build/*.rpm,
+            **/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-libicnet-verify-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: ''
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
       - os-parameter:
-          description: Operating system.
           os: '{os}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - shell:
           !include-raw-escape:
           - include-raw-cicn-libicnet-build.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/build/*.rpm,
+            **/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-metis-merge-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: 'master'
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
+      - os-parameter:
+          os: '{os}'
       - maven-project-parameter:
           maven: 'mvn33-new'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - os-parameter:
-          description: Operating system.
-          os: '{os}'
       - repo-name-parameter:
           repo-name: '{repo-stream-part}.{repo-os-part}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
+      - stream-parameter:
+          stream: 'master'
 
     scm:
       - gerrit-trigger-scm:
           result: 'failure'
 
     builders:
-      - lf-infra-pre-build
       - config-file-provider:
           files:
             - file-id: '.packagecloud'
           - ../scripts/packagecloud_push.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/metis/build/*.rpm,
+            **/metis/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-metis-verify-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: ''
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
       - os-parameter:
-          description: Operating system.
           os: '{os}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - shell:
           !include-raw-escape:
           - include-raw-cicn-metis-build.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/metis/build/*.rpm,
+            **/metis/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-http-server-merge-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: 'master'
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
+      - os-parameter:
+          os: '{os}'
       - maven-project-parameter:
           maven: 'mvn33-new'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - os-parameter:
-          description: Operating system.
-          os: '{os}'
       - repo-name-parameter:
           repo-name: '{repo-stream-part}.{repo-os-part}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
+      - stream-parameter:
+          stream: 'master'
 
     scm:
       - gerrit-trigger-scm:
           result: 'failure'
 
     builders:
-      - lf-infra-pre-build
       - config-file-provider:
           files:
             - file-id: '.packagecloud'
           - ../scripts/packagecloud_push.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/build/*.rpm,
+            **/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-http-server-verify-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: ''
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
       - os-parameter:
-          description: Operating system.
           os: '{os}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - shell:
           !include-raw-escape:
           - include-raw-cicn-http-server-build.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/build/*.rpm,
+            **/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-vpp-plugin-merge-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: 'master'
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
+      - os-parameter:
+          os: '{os}'
       - maven-project-parameter:
           maven: 'mvn33-new'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - os-parameter:
-          description: Operating system.
-          os: '{os}'
       - repo-name-parameter:
           repo-name: '{repo-stream-part}.{repo-os-part}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
+      - stream-parameter:
+          stream: 'master'
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - config-file-provider:
           files:
             - file-id: '.packagecloud'
           - ../scripts/packagecloud_push.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/cicn-plugin/build/*.rpm,
+            **/cicn-plugin/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-vpp-plugin-verify-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: 'msater'
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
+      - os-parameter:
+          os: '{os}'
       - maven-project-parameter:
           maven: 'mvn33-new'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - os-parameter:
-          description: Operating system.
-          os: '{os}'
       - repo-name-parameter:
           repo-name: '{repo-stream-part}.{repo-os-part}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
+      - stream-parameter:
+          stream: 'master'
 
     scm:
       - gerrit-trigger-scm:
           result: 'failure'
 
     builders:
-      - lf-infra-pre-build
       - config-file-provider:
           files:
             - file-id: '.packagecloud'
           - ../scripts/packagecloud_push.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/build/*.rpm,
+            **/build/*.deb,
+            **/libdash/build/*.rpm,
+            **/libdash/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-viper-verify-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: ''
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
       - os-parameter:
-          description: Operating system.
           os: '{os}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - shell:
           !include-raw-escape:
           - include-raw-cicn-viper-build.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/build/*.rpm,
+            **/build/*.deb,
+            **/libdash/build/*.rpm,
+            **/libdash/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-radio-emulators-merge-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: 'master'
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
+      - os-parameter:
+          os: '{os}'
       - maven-project-parameter:
           maven: 'mvn33-new'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - os-parameter:
-          description: Operating system.
-          os: '{os}'
       - repo-name-parameter:
           repo-name: '{repo-stream-part}.{repo-os-part}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
+      - stream-parameter:
+          stream: 'master'
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - config-file-provider:
           files:
             - file-id: '.packagecloud'
           - ../scripts/packagecloud_push.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          # yamllint disable-line rule:line-length
+          artifacts: >
+            **/emu-radio/build/*.rpm,
+            **/emu-radio/build/*.deb,
+            **/emu-radio/ns3-packages/*.rpm,
+            **/emu-radio/ns3-packages/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-radio-emulators-verify-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: ''
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
       - os-parameter:
-          description: Operating system.
           os: '{os}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - shell:
           !include-raw-escape:
           - include-raw-cicn-radio-emulators-build.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          # yamllint disable-line rule:line-length
+          artifacts: >
+            **/emu-radio/build/*.rpm,
+            **/emu-radio/build/*.deb,
+            **/emu-radio/ns3-packages/*.rpm,
+            **/emu-radio/ns3-packages/*.deb
+
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-android-sdk-merge-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: ''
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
+      - os-parameter:
+          os: '{os}'
       - maven-project-parameter:
           maven: 'mvn33-new'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - os-parameter:
-          description: Operating system.
-          os: '{os}'
       - repo-name-parameter:
           repo-name: '{repo-stream-part}.{repo-os-part}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - shell:
           !include-raw-escape:
           - include-raw-cicn-android-sdk-build.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/IGetAndroid/app/build/outputs/apk/release/*.apk,
+            **/MetisForwarderAndroid/app/build/outputs/apk/release/*.apk,
+            **/HttpServer/app/build/outputs/apk/release/*.apk,
+            **/build_armv7-a/viper/viper-armv7//build/outputs/apk/*.apk
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-android-sdk-verify-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: ''
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
       - os-parameter:
-          description: Operating system.
           os: '{os}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - shell:
           !include-raw-escape:
           - include-raw-cicn-android-sdk-build.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          # yamllint disable-line rule:line-length
+          artifacts: >
+            **/iGetAndroid/app/build/outputs/apk/*.apk,
+            **/MetisForwarder/app/build/outputs/apk/*.apk,
+            **/build/viper/viper-armv7//build/outputs/apk/*.apk
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-vicn-merge-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: 'master'
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
+      - os-parameter:
+          os: '{os}'
       - maven-project-parameter:
           maven: 'mvn33-new'
       - maven-exec:
           maven-version: 'mvn33-new'
-      - os-parameter:
-          description: Operating system.
-          os: '{os}'
       - repo-name-parameter:
           repo-name: '{repo-stream-part}.{repo-os-part}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
+      - stream-parameter:
+          stream: 'master'
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - config-file-provider:
           files:
             - file-id: '.packagecloud'
           - ../scripts/packagecloud_push.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/build/*.rpm,
+            **/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
 
 - job-template:
     name: 'cicn-vicn-verify-{stream}-{os}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-      - lf-infra-parameters:
+      - project-parameter:
           project: '{project}'
-          stream: ''
+      - gerrit-parameter:
           branch: '{branch}'
-          lftools-version: '{lftools-version}'
       - os-parameter:
-          description: Operating system.
           os: '{os}'
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
-      - lf-infra-pre-build
       - shell:
           !include-raw-escape:
           - include-raw-cicn-vicn-build.sh
 
     publishers:
-      - lf-infra-publish
+      - archive:
+          artifacts: >
+            **/build/*.rpm,
+            **/build/*.deb
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
index 5415596..ea8bd76 100644 (file)
@@ -18,5 +18,3 @@
 
     # fd.io branch defaults
     branch: master
-
-    archive-artifacts: ''