Publish nsh_sfc jar files to mvn.
[ci-management.git] / jjb / nsh_sfc / nsh_sfc.yaml
index 6a21f5c..67c03aa 100644 (file)
             branch: '{branch}'
 
     builders:
+        - maven-target:
+            maven-version: '{mvn33}'
+            goals: '--version'
+            settings: 'nsh_sfc-settings'
+            settings-type: cfp
+            global-settings: 'global-settings'
+            global-settings-type: cfp
+        - config-file-provider:
+            files:
+              - file-id: 'nsh_sfc-settings'
+                variable: 'SETTINGS_FILE'
+              - file-id: 'global-settings'
+                variable: 'GLOBAL_SETTINGS_FILE'
+        - shell:
+            !include-raw-escape: ../scripts/create_maven_env.sh
+        - inject:
+            properties-file: maven_env.txt
         - shell:
             !include-raw-escape:
                 - ../scripts/cleanup_vpp_plugin_dev_env.sh
                 notbuilt: true
 
     builders:
+        - maven-target:
+            maven-version: '{mvn33}'
+            goals: '--version'
+            settings: 'nsh_sfc-settings'
+            settings-type: cfp
+            global-settings: 'global-settings'
+            global-settings-type: cfp
+        - config-file-provider:
+            files:
+              - file-id: 'nsh_sfc-settings'
+                variable: 'SETTINGS_FILE'
+              - file-id: 'global-settings'
+                variable: 'GLOBAL_SETTINGS_FILE'
+        - shell:
+            !include-raw-escape: ../scripts/create_maven_env.sh
+        - inject:
+            properties-file: maven_env.txt
         - shell:
             !include-raw-escape:
                 - ../scripts/cleanup_vpp_plugin_dev_env.sh
             branch: '{branch}'
 
     builders:
+        - config-file-provider:
+            files:
+              - file-id: 'nsh_sfc-settings'
+                variable: 'SETTINGS_FILE'
+              - file-id: 'global-settings'
+                variable: 'GLOBAL_SETTINGS_FILE'
+        - shell:
+            !include-raw-escape: ../scripts/create_maven_env.sh
+        - inject:
+            properties-file: maven_env.txt
         - shell:
             !include-raw-escape:
                 - ../scripts/cleanup_vpp_plugin_dev_env.sh
                 - ../scripts/setup_vpp_plugin_dev_env.sh
                 - include-raw-nsh_sfc-build.sh
-                - ../scripts/cleanup_vpp_plugin_dev_env.sh
\ No newline at end of file
+                - ../scripts/cleanup_vpp_plugin_dev_env.sh
+                - ../scripts/maven_push_functions.sh
+                - include-raw-nsh_sfc-pkg-push.sh