- - 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
- - ../scripts/maven_push_functions.sh
- - include-raw-nsh_sfc-pkg-push.sh
+ - maven-target:
+ maven-version: 'mvn33-new'
+ 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'
+ - config-file-provider:
+ files:
+ - file-id: '.packagecloud'
+ target: '/home/jenkins/.packagecloud'
+ - config-file-provider:
+ files:
+ - file-id: 'packagecloud_api'
+ target: '/home/jenkins/packagecloud_api'
+
+ - 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
+ - ../scripts/maven_push_functions.sh
+ - include-raw-nsh_sfc-pkg-push.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/packagecloud_push.sh
+
+ publishers:
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'
+
+- job-template:
+ name: 'nsh_sfc-verify-docs-{stream}'
+
+ project-type: freestyle
+ node: ubuntu1604-basebuild-4c-4g
+ concurrent: true
+ jdk: openjdk8-ubuntu1604
+
+ build-discarder:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: '{build-num-to-keep}'
+ artifactDaysToKeep: '{build-artifact-days-to-keep}'
+ artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+ - os-parameter:
+ os: 'ubuntu1604'
+ - maven-exec:
+ maven-version: 'mvn33-new'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: 'jenkins-gerrit-credentials'
+ refspec: ''
+ choosing-strategy: 'default'
+
+ wrappers:
+ - fdio-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - maven-target:
+ maven-version: 'mvn33-new'
+ goals: '--version'
+ 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'
+ - shell:
+ !include-raw-escape: include-raw-nsh_sfc-docs.sh
+
+ publishers:
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'