Add a separate job for the release build
Change-Id: Ie29f29cfa4b1aaf0b0efe2e3993f337f26548780
diff --git a/jjb/onos/onos-verify.yaml b/jjb/onos/onos-verify.yaml
index 65dd526..a8395fb 100644
--- a/jjb/onos/onos-verify.yaml
+++ b/jjb/onos/onos-verify.yaml
@@ -183,10 +183,6 @@
<<: *daily_boiler_plate
builders:
- - config-file-provider:
- files:
- - file-id: 'onos-build-credentials'
- variable: 'CREDENTIALS_FILE'
#put shell scripts in file then make sure shell check is installed on verify vms
- shell: !include-raw-escape: onos-release-build-verify.sh
@@ -195,6 +191,40 @@
- job-template:
#default name is global
+ name: 'onos-release-build'
+
+ # Job template for Java release jobs
+ #
+
+ <<: *job_boiler_plate
+ # yamllint disable-line rule:key-duplicates
+ <<: *daily_boiler_plate
+
+ parameters:
+ - string:
+ name: ONOS_VERSION
+ default: '1.12'
+ description: 'Version of ONOS to build'
+
+ - string:
+ name: ONOS_NEXT_VERSION
+ default: '1.13.0-SNAPSHOT'
+ description: 'Version of ONOS to build'
+
+ builders:
+ - config-file-provider:
+ files:
+ - file-id: 'onos-build-credentials'
+ target: 'onos-build-credentials'
+ variable: 'CREDENTIALS_FILE'
+
+ #put shell scripts in file then make sure shell check is installed on verify vms
+ - shell: !include-raw-escape: onos-release-build.sh
+ # JJB 1.6.2 does not support parameter expansion on filename?
+ #- shell: !include-raw-escape: {project-name}-verify.sh
+
+- job-template:
+ #default name is global
name: 'onos-{stream}-maven-verify'
<<: *job_boiler_plate
@@ -309,3 +339,16 @@
jobs:
- 'onos-{stream}-sonar'
+- project:
+ name: onos-release-build
+ project-name: onos-release-build
+ project: onos
+
+ build-timeout: '1800'
+ build-node: 'ubuntu16.04-basebuild-8c-15g'
+
+ stream:
+ - 'master'
+
+ jobs:
+ - 'onos-release-build'