Update to ensure push only master branch
Issue-ID: AAI-603
Change-Id: I0a6cd3c9b1574f10c0608f8a312eab8d1ad46fa4
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
diff --git a/jjb/aai/aai-esr-server.yaml b/jjb/aai/aai-esr-server.yaml
index ba70039..3a9f31c 100644
--- a/jjb/aai/aai-esr-server.yaml
+++ b/jjb/aai/aai-esr-server.yaml
@@ -1,6 +1,6 @@
---
- project:
- name: aai-esr-server
+ name: aai-esr-server-master
project-name: 'aai-esr-server'
jobs:
- gerrit-maven-clm:
@@ -14,6 +14,25 @@
stream:
- 'master':
branch: 'master'
+ mvn-settings: 'aai-esr-server-settings'
+ files: '**'
+ archive-artifacts: ''
+ docker-pom: 'pom.xml'
+ mvn-profile: docker
+ build-node: ubuntu1604-basebuild-4c-4g
+- project:
+ name: aai-esr-server-releases
+ project-name: 'aai-esr-server'
+ jobs:
+ - gerrit-maven-clm:
+ java-version: ''
+ - '{project-name}-{stream}-verify-java'
+ - '{project-name}-{stream}-merge-java'
+ - '{project-name}-{stream}-release-version-java-daily-no-sonar'
+ - '{project-name}-{stream}-docker-java-daily'
+
+ project: 'aai/esr-server'
+ stream:
- 'amsterdam':
branch: 'amsterdam'
mvn-settings: 'aai-esr-server-settings'