Remove deprecated fdio-infra-shiplogs macro 06/32106/1
authorDave Wallace <dwallacelf@gmail.com>
Fri, 23 Apr 2021 19:22:14 +0000 (15:22 -0400)
committerDave Wallace <dwallacelf@gmail.com>
Fri, 23 Apr 2021 19:22:46 +0000 (15:22 -0400)
- Update node labels, replacing deprecated
  'snergster' labels with equivalent
  'fdiotools' node labels

Change-Id: I1ff7d42b2c4f4f592567378b7f1fe359ff7e2a0f
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
jjb/global-macros.yaml
jjb/hc2vpp/hc2vpp-csit.yaml
jjb/hc2vpp/hc2vpp.yaml
jjb/udpi/udpi.yaml
jjb/vsap/vsap.yaml

index 42ed907..dfcb815 100644 (file)
             - "**/*.jenkins-trigger"
           fail-build: false
 
-- publisher:
-    name: fdio-infra-shiplogs
-    # To archive things, the job will need to create an "archives" directory in
-    # the workspace and this macro will handle copying the contents of the
-    # archives directory.
-    #
-    # Uses the build parameter ARCHIVE_ARTIFACTS if not empty to find files to
-    # archive. You can pass globstar patterns for example "**/*.xml **/*.log" as
-    # the archive pattern. This is a space separated list of files to archive.
-    #
-    # Also ensure that the workspace is cleaned up at the end of the build.
-    publishers:
-      - postbuildscript:
-          builders:
-            - role: BOTH
-              build-on:
-                - ABORTED
-                - FAILURE
-                - NOT_BUILT
-                - SUCCESS
-                - UNSTABLE
-              build-steps:
-                - shell: !include-raw: include-raw-deploy-archives.sh
-                - maven-target:
-                    maven-version: '{maven-version}'
-                    pom: '.archives/deploy-archives.xml'
-                    goals: 'clean deploy -V -B -q -Dmaven.repo.local=/tmp/r'
-                    settings: 'jenkins-log-archives-settings'
-                    settings-type: cfp
-                    global-settings: 'global-settings'
-                    global-settings-type: cfp
-                - description-setter:
-                    regexp: '^Build logs: .*'
-          mark-unstable-if-failed: true
-      - workspace-cleanup:
-          fail-build: false
-
 - publisher:
     name: jacoco-report
     publishers:
index a0a18b4..76ef874 100644 (file)
@@ -94,8 +94,7 @@
       - robot-report:
           output-path: 'csit/archive'
 
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn36'
+      - lf-infra-publish
 
 - job-template:
     name: 'hc2vpp-csit-verify-{stream}-{os}'
       - robot-report:
           output-path: 'csit/archive'
 
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn36'
+      - lf-infra-publish
 
 - job-template:
     name: 'hc2vpp-csit-integration-odl-{odl}-{stream}-{os}'
       - robot-report:
           output-path: 'csit/archive'
 
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn36'
+      - lf-infra-publish
 
 - job-template:
     name: 'hc2vpp-csit-verify-odl-{odl}-{stream}-{os}'
       - robot-report:
           output-path: 'csit/archive'
 
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn36'
+      - lf-infra-publish
 
 - job-template:
     name: 'hc2vpp-csit-perf-{stream}-{os}'
       - robot-report:
           output-path: 'csit/archive'
 
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn36'
+      - lf-infra-publish
 
 - parameter:
     name: odl-parameter
index d8aef51..c8ac1d8 100644 (file)
@@ -79,8 +79,7 @@
     publishers:
       - email-notification:
           email-prefix: '[hc2vpp]'
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn36'
+      - lf-infra-publish
 
 - job-template:
     name: 'hc2vpp-merge-{stream}-{os}'
           branch: '{stream}'
       - email-notification:
         email-prefix: '[hc2vpp]'
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn36'
+      - lf-infra-publish
 
 - job-template:
     name: 'hc2vpp-integration-{stream}-{os}'
           unique-version: true
           deploy-unstable: false
           release-env-var: SKIP_JAR_DEPLOY
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn36'
+      - lf-infra-publish
 
 - project:
     name: hc2vpp-info
index fa2b7ee..7086f4d 100644 (file)
@@ -45,7 +45,7 @@
     name: 'udpi-verify-{stream}-{os}'
 
     project-type: freestyle
-    node: '{os}-us'
+    node: 'builder-{os}-prod-x86_64'
     concurrent: true
 
     build-discarder:
           - include-raw-udpi-build.sh
 
     publishers:
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn36'
+      - fdio-infra-publish
       - naginator:
           rerun-unstable-builds: false
           max-failed-builds: 1
     name: 'udpi-merge-{stream}-{os}'
 
     project-type: freestyle
-    node: '{os}-us'
+    node: 'builder-{os}-prod-x86_64'
 
     build-discarder:
       daysToKeep: '{build-days-to-keep}'
           - ../scripts/packagecloud_push.sh
 
     publishers:
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn36'
+      - fdio-infra-publish
       - naginator:
           rerun-unstable-builds: false
           max-failed-builds: 1
index 711f9b9..31c4b43 100644 (file)
@@ -45,7 +45,7 @@
     name: 'vsap-verify-{stream}-{os}-{mode}'
 
     project-type: freestyle
-    node: '{os}-us'
+    node: 'builder-{os}-prod-x86_64'
     concurrent: true
 
     build-discarder:
           - include-raw-vsap-build.sh
 
     publishers:
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn36'
+      - fdio-infra-publish
 
 - job-template:
     name: 'vsap-merge-{stream}-{os}-{mode}'
 
     project-type: freestyle
-    node: '{os}-us'
+    node: 'builder-{os}-prod-x86_64'
 
     build-discarder:
       daysToKeep: '{build-days-to-keep}'
           - ../scripts/packagecloud_push.sh
 
     publishers:
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn36'
+      - fdio-infra-publish
 
 - project:
     name: vsap-info