summaryrefslogtreecommitdiffstats
path: root/jjb/hicn/hicn.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/hicn/hicn.yaml')
-rw-r--r--jjb/hicn/hicn.yaml83
1 files changed, 77 insertions, 6 deletions
diff --git a/jjb/hicn/hicn.yaml b/jjb/hicn/hicn.yaml
index 4e1bb5349..3fc019824 100644
--- a/jjb/hicn/hicn.yaml
+++ b/jjb/hicn/hicn.yaml
@@ -15,7 +15,8 @@
- project:
name: hicn-x86_64
jobs:
- - "hicn-verify-{stream}-{os}-{executor-arch}"
+ - "hicn-verify-build-{stream}-{os}-{executor-arch}"
+ - "hicn-verify-functest-{stream}-{os}-{executor-arch}"
- "hicn-merge-{stream}-{os}-{executor-arch}"
project: "hicn"
os: ubuntu2004
@@ -27,7 +28,7 @@
- project:
name: hicn-aarch64
jobs:
- - "hicn-verify-{stream}-{os}-{executor-arch}"
+ - "hicn-verify-build-{stream}-{os}-{executor-arch}"
- "hicn-merge-{stream}-{os}-{executor-arch}"
project: "hicn"
os: ubuntu2004
@@ -236,7 +237,7 @@
fixed-delay: 90
- job-template:
- name: "hicn-verify-{stream}-{os}-{executor-arch}"
+ name: "hicn-verify-build-{stream}-{os}-{executor-arch}"
project-type: freestyle
node: "builder-{os}-prod-{executor-arch}"
@@ -267,9 +268,30 @@
build-timeout: 120
triggers:
- - gerrit-trigger-checkstyle:
- name: "{project}"
- branch: "{branch}"
+ - gerrit:
+ server-name: "Primary"
+ trigger-on:
+ - comment-added-contains-event:
+ comment-contains-value: "checkstyle_success"
+ projects:
+ - project-compare-type: "ANT"
+ project-pattern: "{project}"
+ branches:
+ - branch-compare-type: "ANT"
+ branch-pattern: "**/{branch}"
+ override-votes: true
+ gerrit-build-notbuilt-verified-value: 0
+ gerrit-build-successful-verified-value: 1
+ # yamllint disable-line rule:line-length
+ notbuilt-message: "Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes."
+ # yamllint disable-line rule:line-length
+ failed-message: "Build failed. No further verify jobs will be started."
+ successful-message: "build_success-{stream}-{os}-{executor-arch}"
+ skip-vote:
+ successful: true
+ failed: false
+ unstable: false
+ notbuilt: false
builders:
- shell: !include-raw-escape:
@@ -279,6 +301,55 @@
publishers:
- fdio-infra-publish
+ - archive-artifacts:
+ artifacts: "packages/*.deb, packages/*.rpm"
+
+- job-template:
+ name: "hicn-verify-functest-{stream}-{os}-{executor-arch}"
+
+ project-type: freestyle
+ node: "centos7-docker-4c-4g"
+ concurrent: true
+
+ properties:
+ - lf-infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
+
+ parameters:
+ - project-parameter:
+ project: "{project}"
+ - gerrit-parameter:
+ branch: "{branch}"
+ - os-parameter:
+ os: "{os}"
+ - stream-parameter:
+ stream: "{stream}"
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: "jenkins-gerrit-credentials"
+ refspec: "$GERRIT_REFSPEC"
+ choosing-strategy: "gerrit"
+
+ wrappers:
+ - fdio-infra-wrappers:
+ build-timeout: 120
+
+ triggers:
+ - gerrit-trigger-build:
+ name: "{project}"
+ branch: "{branch}"
+ stream: "{stream}"
+ os: "{os}"
+ executor-arch: "{executor-arch}"
+
+ builders:
+ - shell: !include-raw-escape:
+ - ../scripts/hicn/functest.sh
+
+ publishers:
+ - robot-report:
+ output-path: "tests"
- job-template:
name: "hicn-merge-{stream}-{os}-{executor-arch}"