X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ci%2Fjjb%2Fakraino-icn-templates.yaml;h=730c2b43da2ff82d88a04b5dd9b23cb269487cc3;hb=976343cea0c565ffc6271603ad365b0c04d83785;hp=3bab6aceff664be8801d6bfb58194821690c8b22;hpb=5cbb66c16b77b17f38d9ead909a7615fd8f32469;p=icn.git diff --git a/ci/jjb/akraino-icn-templates.yaml b/ci/jjb/akraino-icn-templates.yaml index 3bab6ac..730c2b4 100644 --- a/ci/jjb/akraino-icn-templates.yaml +++ b/ci/jjb/akraino-icn-templates.yaml @@ -58,6 +58,18 @@ - 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 @@ -121,7 +133,70 @@ - 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 +- job-template: + id: icn-bluval-run-daily-tests + name: 'icn-bluval-daily-{stream}' + concurrent: true + node: '{build-node}' + parameters: + - lf-infra-parameters: *validation_lf_infra_parameters + - string: + name: DEPLOY_SCENARIO + default: '' + - {'bluval-defaults'} + + scm: + - lf-infra-github-scm: + jenkins-ssh-credential: '{jenkins-ssh-credential}' + url: '{git-url}/{project}.git' + refspec: '$GERRIT_REFSPEC' + branch: '$GERRIT_BRANCH' + submodule-recursive: false + submodule-timeout: '{submodule-timeout}' + submodule-disable: true + choosing-strategy: default + + builders: + - description-setter: + description: "POD: $NODE_NAME
BLUEPRINT: $BLUEPRINT
LAB: $LAB_SILO
LAYER: $LAYER" + - shell: !include-raw-escape: + shell/bluval.sh + + publishers: + - robot: + output-path: 'results' + report-html: '**/report.html' + log-html: '**/log.html' + output-xml: '**/output.xml' + - logparser: + use-project-rules: true + parse-rules: "./bluval/rules.txt" + unstable-on-warning: false + fail-on-error: true + show-graphs: true + - postbuildscript: + mark-unstable-if-failed: true + builders: + - build-on: + - SUCCESS + - UNSTABLE + - FAILURE + build-steps: + - shell: !include-raw-escape: + shell/bluval-postbuild.sh