summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
Diffstat (limited to 'jjb')
-rw-r--r--jjb/hicn/hicn.yaml70
-rw-r--r--jjb/scripts/hicn/build-vpp-latest.sh7
2 files changed, 77 insertions, 0 deletions
diff --git a/jjb/hicn/hicn.yaml b/jjb/hicn/hicn.yaml
index 9196c5f82..4e1bb5349 100644
--- a/jjb/hicn/hicn.yaml
+++ b/jjb/hicn/hicn.yaml
@@ -72,6 +72,28 @@
branch: "master"
- project:
+ name: hicn-vpp-latest-x86_64
+ jobs:
+ - "hicn-vpp-latest-verify-{stream}-{os}-{executor-arch}"
+ project: "hicn"
+ os: ubuntu2004
+ executor-arch: "x86_64"
+ stream:
+ - master:
+ branch: "master"
+
+- project:
+ name: hicn-vpp-latest-aarch64
+ jobs:
+ - "hicn-vpp-latest-verify-{stream}-{os}-{executor-arch}"
+ project: "hicn"
+ os: ubuntu2004
+ executor-arch: "aarch64"
+ stream:
+ - master:
+ branch: "master"
+
+- project:
name: hicn-view
views:
- project-view
@@ -429,6 +451,54 @@
publishers:
- fdio-infra-publish
+- job-template:
+ name: "hicn-vpp-latest-verify-{stream}-{os}-{executor-arch}"
+
+ project-type: freestyle
+ node: "builder-{os}-prod-{executor-arch}"
+ 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:
+
+ - timed: 'H H * * *'
+ - gerrit-trigger-manually-triggered:
+ comment-trigger-value: 'verify-vpp-latest'
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - shell: !include-raw-escape:
+ - ../scripts/setup_executor_env.sh
+ - shell: !include-raw-escape:
+ - ../scripts/hicn/build-vpp-latest.sh
+
+ publishers:
+ - fdio-infra-publish
+
- project:
name: hicn-info
project-name: hicn
diff --git a/jjb/scripts/hicn/build-vpp-latest.sh b/jjb/scripts/hicn/build-vpp-latest.sh
new file mode 100644
index 000000000..444f9b699
--- /dev/null
+++ b/jjb/scripts/hicn/build-vpp-latest.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# basic build script example
+set -euxo pipefail
+
+pushd scripts
+bash ./build-packages.sh vpp_master
+popd