summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavi Geda <gravik@amdocs.com>2018-09-20 14:12:42 +0100
committerTian Lee <TianL@amdocs.com>2018-09-24 09:55:20 +0000
commit00bdc7f0033e68045988f0f7854083f09be6a189 (patch)
tree4351fcdb83262ce8848acf43466358bffe7677d0
parentead03285eab0273349551155111697740e3a5df5 (diff)
Add docker and sonar jobs for sidecars
Add docker jobs for fproxy, rproxy and tproxy-config. Though the name has "aai", aai code is not involved. Add sonar jobs for fproxy and rproxy. tproxy-config just configures the pod and doesn't actually have any code. Refactor existing cadi sonar job into separate sonar jobs for each maven submodule in the project. Change-Id: I7d7af5f3167c77845d1756bef36cb75c7314bb4f Issue-ID: AAI-1660 Signed-off-by: Ravi Geda <gravik@amdocs.com>
-rw-r--r--jjb/aaf/aaf-cadi.yaml76
1 files changed, 75 insertions, 1 deletions
diff --git a/jjb/aaf/aaf-cadi.yaml b/jjb/aaf/aaf-cadi.yaml
index f1e9570da..29d4cd3ea 100644
--- a/jjb/aaf/aaf-cadi.yaml
+++ b/jjb/aaf/aaf-cadi.yaml
@@ -16,7 +16,7 @@
archive-artifacts: ''
- project:
- name: aaf-cadi-sonar
+ name: aaf-cadi-shiro-sonar
jobs:
- gerrit-maven-sonar
cron: 'H 11 * * *'
@@ -24,6 +24,80 @@
project: 'aaf/cadi'
project-name: 'aaf-cadi'
branch: 'master'
+ mvn-params: '-f shiro/pom.xml'
mvn-settings: 'aaf-cadi-settings'
mvn-goals: 'clean install'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+# Though the below docker jobs have "aai" in the name, there is no aai code involved.
+- project:
+ name: aaf-cadi-fproxy
+ project-name: 'aaf-cadi-fproxy'
+ jobs:
+ - '{project-name}-{stream}-aai-docker-java-daily':
+ pom: 'sidecar/fproxy/pom.xml'
+ mvn-goals: 'docker:build'
+ project: 'aaf/cadi'
+ stream:
+ - 'master':
+ branch: 'master'
+ mvn-settings: 'aaf-cadi-settings'
+ files: '**'
+ archive-artifacts: ''
+
+- project:
+ name: aaf-cadi-fproxy-sonar
+ jobs:
+ - gerrit-maven-sonar
+ cron: 'H 11 * * *'
+ build-node: ubuntu1604-builder-4c-4g
+ project: 'aaf/cadi'
+ project-name: 'aaf-cadi-fproxy'
+ branch: 'master'
+ mvn-params: '-f sidecar/fproxy/pom.xml'
+ mvn-settings: 'aaf-cadi-settings'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+
+- project:
+ name: aaf-cadi-rproxy
+ project-name: 'aaf-cadi-rproxy'
+ jobs:
+ - '{project-name}-{stream}-aai-docker-java-daily':
+ pom: 'sidecar/rproxy/pom.xml'
+ mvn-goals: 'docker:build'
+ project: 'aaf/cadi'
+ stream:
+ - 'master':
+ branch: 'master'
+ mvn-settings: 'aaf-cadi-settings'
+ files: '**'
+ archive-artifacts: ''
+
+- project:
+ name: aaf-cadi-rproxy-sonar
+ jobs:
+ - gerrit-maven-sonar
+ cron: 'H 11 * * *'
+ build-node: ubuntu1604-builder-4c-4g
+ project: 'aaf/cadi'
+ project-name: 'aaf-cadi-rproxy'
+ branch: 'master'
+ mvn-params: '-f sidecar/rproxy/pom.xml'
+ mvn-settings: 'aaf-cadi-settings'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+
+- project:
+ name: aaf-cadi-tproxy-config
+ project-name: 'aaf-cadi-tproxy-config'
+ jobs:
+ - '{project-name}-{stream}-aai-docker-java-daily':
+ pom: 'sidecar/tproxy-config/pom.xml'
+ mvn-goals: 'docker:build'
+ project: 'aaf/cadi'
+ stream:
+ - 'master':
+ branch: 'master'
+ mvn-settings: 'aaf-cadi-settings'
+ files: '**'
+ archive-artifacts: ''