---
- job-template:
- id: icn-stream-verify-target
- name: 'icn-{stream}-verify-{target}'
+ id: icn-stream-vagrant-verify-target
+ name: 'icn-{stream}-vagrant-verify-{target}'
defaults: icn
archive-artifacts: >
**/*.log
builders:
- shell: !include-raw:
- - shell/verify.sh
+ - shell/vagrant-verify.sh
publishers:
+ - postbuildscript:
+ builders:
+ - role: BOTH
+ build-on:
+ - ABORTED
+ - FAILURE
+ - NOT_BUILT
+ - SUCCESS
+ - UNSTABLE
+ build-steps:
+ # all files should be owned by jenkins, for cleanup
+ - shell: 'sudo chown jenkins -R .'
+ - icn-infra-publish
+# - email:
+# recipients: icn.jenkins@intel.com
+
+- job-template:
+ id: icn-stream-bm-verify-target
+ name: 'icn-{stream}-bm-verify-{target}'
+ defaults: icn
+ archive-artifacts: >
+ **/*.log
+ build-days-to-keep: 30
+ build-timeout: 60
+ stream: master
+ target: verifier
+ project-type: freestyle
+ submodule-recursive: true
+ #node: '{build-node}'
+
+ properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
+
+ parameters:
+ - lf-infra-parameters:
+ project: '{project}'
+ stream: '{stream}'
+ branch: '{branch}'
+ lftools-version: '{lftools-version}'
+
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{archive-artifacts}'
+ description: Artifacts to archive to the logs server.
+
+ - string:
+ name: NEXUS_LOG_SUBDIR
+ default: '{nexus_log_subdir}'
+ description: Organization sub dir on Akraino Nexus server.
+
+ wrappers:
+ - lf-infra-wrappers:
+ build-timeout: '{build-timeout}'
+ jenkins-ssh-credential: '{jenkins-ssh-credential}'
+
+ scm:
+ - lf-infra-gerrit-scm:
+ jenkins-ssh-credential: '{jenkins-ssh-credential}'
+ git-url: '{git-url}/{project}.git'
+ refspec: '$GERRIT_REFSPEC'
+ branch: '$GERRIT_BRANCH'
+ submodule-recursive: '{submodule-recursive}'
+ submodule-timeout: '{submodule-timeout}'
+ submodule-disable: false
+ choosing-strategy: 'gerrit'
+
+ triggers:
+ - timed: "@midnight"
+
+ builders:
+ - shell: !include-raw:
+ - shell/bm-verify.sh
+
+ publishers:
+ - postbuildscript:
+ builders:
+ - role: BOTH
+ build-on:
+ - ABORTED
+ - FAILURE
+ - NOT_BUILT
+ - SUCCESS
+ - UNSTABLE
+ build-steps:
+ # all files should be owned by jenkins, for cleanup
+ - shell: 'sudo chown jenkins -R .'
- icn-infra-publish
# - email:
# recipients: icn.jenkins@intel.com