Merge "[CORD-3039] new imagebuilder job"
diff --git a/jjb/onos-app-release.yaml b/jjb/onos-app-release.yaml
new file mode 100644
index 0000000..43e58d0
--- /dev/null
+++ b/jjb/onos-app-release.yaml
@@ -0,0 +1,62 @@
+---
+# 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}'
+
+ wrappers:
+ - ssh-agent-credentials:
+ users:
+ - '9eade54b-3246-4b41-9a35-d8ba39a0285c'
+
+ 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'
+