summaryrefslogtreecommitdiffstats
path: root/jjb/hicn/hicn.yaml
diff options
context:
space:
mode:
authorAngelo Mantellini <manangel@cisco.com>2019-10-14 16:57:14 +0200
committerAngelo Mantellini <manangel@cisco.com>2019-10-15 13:34:15 +0200
commitba3a166385d961e8d9d654ebfa30b3d55eb0742f (patch)
tree351abd4aa0d19fb336df818bac6f54b15c56064a /jjb/hicn/hicn.yaml
parent708165dee7a3b8a68fa430263f796abae4c9e4f7 (diff)
Add ubuntu arm job for HICN
Signed-off-by: Angelo Mantellini <manangel@cisco.com> Change-Id: I5aee246812439d6b06ff6c5edb6d08400963ebc1
Diffstat (limited to 'jjb/hicn/hicn.yaml')
-rw-r--r--jjb/hicn/hicn.yaml173
1 files changed, 173 insertions, 0 deletions
diff --git a/jjb/hicn/hicn.yaml b/jjb/hicn/hicn.yaml
index 541a0c57..4a998bfd 100644
--- a/jjb/hicn/hicn.yaml
+++ b/jjb/hicn/hicn.yaml
@@ -24,6 +24,26 @@
- long
- project:
+ name: hicn-arm
+ jobs:
+ - 'hicn-arm-verify-{stream}-{os}'
+ - 'hicn-arm-merge-{stream}-{os}'
+
+ project: 'hicn'
+ os:
+ - ubuntu1804:
+ repo-os-part: 'ubuntu-arm.bionic.main'
+
+ stream:
+ - master:
+ branch: 'master'
+ repo-stream-part: 'master'
+
+ type:
+ - short
+ - long
+
+- project:
name: hicn-misc
jobs:
- 'hicn-checkstyle-verify-{stream}'
@@ -204,6 +224,65 @@
maven-version: 'mvn33-new'
- job-template:
+ name: 'hicn-arm-verify-{stream}-{os}'
+
+ project-type: freestyle
+ node: '{os}arm-us'
+ concurrent: true
+ archive-artifacts: >
+ **/build/*.deb
+ allow-empty: 'true'
+ fingerprint: false
+ only-if-success: true
+ default-excludes: false
+
+ build-discarder:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: 100
+ artifactDaysToKeep: '{build-artifact-days-to-keep}'
+ artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+ - os-parameter:
+ os: '{os}'
+ - repo-name-parameter:
+ repo-name: '{repo-stream-part}.{repo-os-part}'
+ - stream-parameter:
+ stream: '{stream}'
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{archive-artifacts}'
+ description: Artifacts to archive to the logs server.
+
+ 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-checkstyle:
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - shell:
+ !include-raw-escape:
+ - include-raw-hicn-build.sh
+
+ publishers:
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'
+
+- job-template:
name: 'hicn-merge-{stream}-{os}'
project-type: freestyle
@@ -298,6 +377,100 @@
max-failed-builds: 1
fixed-delay: 90
+- job-template:
+ name: 'hicn-arm-merge-{stream}-{os}'
+
+ project-type: freestyle
+ node: '{os}arm-us'
+ archive-artifacts: >
+ **/build/*.deb
+ allow-empty: 'true'
+ fingerprint: false
+ only-if-success: true
+ default-excludes: false
+
+ build-discarder:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: 100
+ artifactDaysToKeep: '{build-artifact-days-to-keep}'
+ artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+ - os-parameter:
+ os: '{os}'
+ - maven-project-parameter:
+ maven: 'mvn33-new'
+ - maven-exec:
+ maven-version: 'mvn33-new'
+ - stream-parameter:
+ stream: 'release'
+ - repo-name-parameter:
+ repo-name: '{repo-stream-part}.{repo-os-part}'
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{archive-artifacts}'
+ description: Artifacts to archive to the logs server.
+
+ 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-merged:
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - config-file-provider:
+ files:
+ - file-id: '.packagecloud'
+ target: '/root'
+ - config-file-provider:
+ files:
+ - file-id: 'packagecloud_api'
+ target: '/root'
+ - maven-target:
+ maven-version: 'mvn33-new'
+ goals: '--version'
+ settings: 'hicn-settings'
+ settings-type: cfp
+ global-settings: 'global-settings'
+ global-settings-type: cfp
+ - shell:
+ !include-raw-escape:
+ - include-raw-hicn-checkstyle.sh
+ - shell:
+ !include-raw-escape:
+ - include-raw-hicn-build.sh
+ - provide-maven-settings:
+ settings-file: 'hicn-settings'
+ global-settings-file: 'global-settings'
+ - shell:
+ !include-raw-escape:
+ - ../scripts/packagecloud_push.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/maven_push_functions.sh
+ - include-raw-hicn-maven-push.sh
+
+ publishers:
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'
+ - naginator:
+ rerun-unstable-builds: false
+ max-failed-builds: 1
+ fixed-delay: 90
+
- project:
name: hicn-sonar
project: hicn