Create script to automate deployment
[ci-management.git] / jjb / vpp / vpp.yaml
index a5cfcd3..f75db81 100644 (file)
@@ -88,7 +88,7 @@
 
     builders:
         - shell:
-            !include-raw-escape include-raw-vpp-build.sh
+            !include-raw-escape: include-raw-vpp-build.sh
 
 - job-template:
     name: 'vpp-verify-image-{stream}-{os}'
 
     triggers:
         - gerrit:
-            server-name: 'Default'
+            server-name: 'Primary'
             trigger-on:
                 - comment-added-contains-event:
                     comment-contains-value: 'verify-images'
 
     builders:
         - shell:
-            !include-raw-escape include-raw-vpp-build.sh
+            !include-raw-escape: include-raw-vpp-build.sh
 
 - job-template:
     name: 'vpp-merge-{stream}-{os}'
 
     builders:
         - shell:
-            !include-raw-escape include-raw-vpp-build.sh
+            !include-raw-escape: include-raw-vpp-build.sh
         - maven-target:
             maven-version: '{mvn33}'
             goals: '--version'
-            settings: '{vpp-settings}'
-            global-settings: '{global-settings}'
+            settings: 'vpp-settings'
+            settings-type: cfp
+            global-settings: 'global-settings'
+            global-settings-type: cfp
         - provide-maven-settings:
-            settings-file: '{vpp-settings}'
-            global-settings-file: '{global-settings}'
+            settings-file: 'vpp-settings'
+            global-settings-file: 'global-settings'
         - shell:
-            !include-raw-escape include-raw-vpp-maven-push.sh
+            !include-raw-escape:
+              - ../scripts/maven_push_functions.sh
+              - include-raw-vpp-maven-push.sh
 
 - job-template:
     name: 'vpp-csit-verify-virl-{stream}'
 
     builders:
         - shell:
-            !include-raw-escape include-raw-vpp-build.sh
+            !include-raw-escape: include-raw-vpp-build.sh
         - shell:
-            !include-raw-escape include-raw-vpp-csit-functional.sh
+            !include-raw-escape: include-raw-vpp-csit-functional.sh
 
     publishers:
         - archive-artifacts:
 
     builders:
         - shell:
-            !include-raw-escape include-raw-vpp-build.sh
+            !include-raw-escape: include-raw-vpp-build.sh
         - shell:
-            !include-raw-escape include-raw-vpp-csit-verify-perf.sh
+            !include-raw-escape: include-raw-vpp-csit-verify-perf.sh
 
     publishers:
         - archive-artifacts: