[ONOS-7346] ver.c
Change-Id: I89f9acdf7820ffa7b0e45d9536e0357060dddb9c
diff --git a/jjb/OnosSystemTest/onos-test-freestyle.yaml b/jjb/OnosSystemTest/onos-test-freestyle.yaml
index 6b061fc..f3029f2 100644
--- a/jjb/OnosSystemTest/onos-test-freestyle.yaml
+++ b/jjb/OnosSystemTest/onos-test-freestyle.yaml
@@ -62,7 +62,7 @@
- archive:
artifacts: '*.jpg'
-# cleanup_stations - TDOO: need to add bash script.
+# cleanup_stations - TDOO: check if getting the directory works.
- job-template:
name: test-station-log-cleanup-VM
@@ -87,8 +87,8 @@
node: 'TestStation-VMs'
- triggers:
- - timed: '01 08 1,15 * *'
+# triggers:
+# - timed: '01 08 1,15 * *'
builders:
@@ -118,8 +118,8 @@
node: 'TestStation-BMs'
- triggers:
- - timed: '01 08 1 * *'
+# triggers:
+# - timed: '01 08 1 * *'
builders:
@@ -149,13 +149,99 @@
node: 'TestStation-CHOs'
- triggers:
- - timed: '@daily'
+# triggers:
+# - timed: '@daily'
builders:
- shell: !include-raw-escape: cho-clean-up.sh
+# haven't done this yet.
+- job-template:
+ name: QA-check-style
+
+ <<: *test-free-job-boiler-plate
+ properties:
+
+ - build-discarder:
+ num-to-keep: 15
+
+ parameters:
+
+ - string:
+ name: 'DAYS_OLD'
+ default: '15'
+
+ - lf-infra-parameters:
+ project: '{project}'
+ branch: '{stream}'
+ stream: '{stream}'
+ lftools-version: '{lftools-version}'
+
+ node: 'TestStation-CHOs'
+
+# triggers:
+# - timed: '@daily'
+
+ builders:
+
+ - shell: !include-raw-escape: cho-clean-up.sh
+
+- job-template:
+ name: delta-nightly
+
+ <<: *test-free-job-boiler-plate
+ properties:
+
+ - build-discarder:
+ num-to-keep: 30
+
+ parameters:
+
+ - string:
+ name: 'NIGHTLY_FILE_NAME'
+ default: ''
+ description: |
+ Name of ONOS nightly build file
+ will be set to the latest file if not specified here
+
+ - string:
+ name: 'ONOS_VERSION'
+ default: '1.11.0'
+ description: 'Version number in ONOS nightly build file'
+
+ - string:
+ name: 'DELTA_PATH'
+ default: '/home/sdn'
+ description: 'Path of DELTA project'
+
+ - string:
+ name: 'WIKI_PREFIX'
+ default: 'master'
+
+ - bool:
+ name: 'CLEANUP'
+ default: true
+
+ - lf-infra-parameters:
+ project: '{project}'
+ branch: '{stream}'
+ stream: '{stream}'
+ lftools-version: '{lftools-version}'
+
+ node: 'TestStation-BMs'
+
+ wrappers:
+ - inject:
+ properties-file: '/var/jenkins/TestONOS.property'
+
+ builders:
+
+ - shell: !include-raw-escape: delta-script.sh
+
+ # Todo : add graph and confluence ( use pipeline for post build ..? )
+
+
#TODO LIST : DELTA -> perhaps change into pipeline?? , CHO_jobs, Check_style, Personal stations : necessary?
- project:
@@ -177,3 +263,19 @@
- 'test-station-log-cleanup-VM'
- 'test-station-log-cleanup-BM'
- 'test-station-log-cleanup-CHO'
+
+- project:
+ name: check-style
+ project-name: check-style
+
+ <<: *test-free-init-procedure-plate
+ jobs:
+ - 'QA-check-style'
+
+- project:
+ name: delta-test
+ project-name: delta-test
+
+ <<: *test-free-init-procedure-plate
+ jobs:
+ - 'delta-nightly'