Adding ONOS app release job
Change-Id: I67934bbf3fc9499254fa810fe97558951936e0ed
diff --git a/jjb/onos-app-release.yaml b/jjb/onos-app-release.yaml
new file mode 100644
index 0000000..ee3acc4
--- /dev/null
+++ b/jjb/onos-app-release.yaml
@@ -0,0 +1,57 @@
+---
+# onos-app-release
+
+- project:
+ name: onos-app-release
+
+ project-name: '{name}'
+
+ jobs:
+ - 'onos-app-release'
+
+
+- job-template:
+ id: onos-app-release
+ name: 'onos-app-release'
+ description: |
+ <!-- Managed by Jenkins Job Builder -->
+ Created by {id} job-template from ci-management/jjb/onos-app-release.yaml
+
+ properties:
+ - cord-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
+ artifact-num-to-keep: '{artifact-num-to-keep}'
+
+ parameters:
+ - string:
+ name: app
+ default: ''
+ description: 'Name of the app repository on the OpenCORD Gerrit server.\n e.g. vtn'
+
+ - string:
+ name: version
+ default: ''
+ description: 'Version to release.\n e.g. 1.0.0'
+
+ - string:
+ name: nextVersion
+ default: ''
+ description: 'Snapshot version to move the code forward to.\n e.g. 1.1.0'
+
+ - string:
+ name: branch
+ default: 'master'
+ description: 'Name of the branch to release on.'
+
+ node: 'ubuntu16.04-basebuild-1c-2g'
+ project-type: pipeline
+ concurrent: true
+
+ pipeline-scm:
+ script-path: 'Jenkinsfile.release'
+ scm:
+ - git:
+ url: '{gerrit-server-url}/cord-onos-publisher'
+ branches:
+ - 'master'
+