aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/jenkins/vagrant/jjb/docker-jobs.yaml
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-06-16 13:44:28 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-06-16 13:44:28 -0700
commit213a8351fd266294e17a862b4d223c1968800a09 (patch)
tree0eaa87c3253da9f65fcbaf514c6b2baaf06fa162 /bootstrap/jenkins/vagrant/jjb/docker-jobs.yaml
parent06a50674c025c198585a6de4e6bb035cde63832d (diff)
Added vagrant setup for a Jenkins system for ONAP
Add a set of vagrant scripts that will set up a local Jenkins environment with pre-defined jobs to build all the ONAP java code and docker images. Change-Id: I67ed254bcb38a7be989b7c2861fd3ea4ec9c66f2 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'bootstrap/jenkins/vagrant/jjb/docker-jobs.yaml')
-rw-r--r--bootstrap/jenkins/vagrant/jjb/docker-jobs.yaml76
1 files changed, 76 insertions, 0 deletions
diff --git a/bootstrap/jenkins/vagrant/jjb/docker-jobs.yaml b/bootstrap/jenkins/vagrant/jjb/docker-jobs.yaml
new file mode 100644
index 000000000..5925b5d01
--- /dev/null
+++ b/bootstrap/jenkins/vagrant/jjb/docker-jobs.yaml
@@ -0,0 +1,76 @@
+- project:
+ name: onap-docker-with-pom
+ jobs:
+ - 'docker-with-pom'
+ project:
+ - 'aai_aai-service_ajsc-aai':
+ repo: 'aai/aai-service'
+ pom: 'ajsc-aai/pom.xml'
+ mvn-options: 'docker:build'
+ - 'aai_data-router':
+ repo: 'aai/data-router'
+ pom: 'pom.xml'
+ mvn-options: 'docker:build'
+ - 'aai_model-loader':
+ repo: 'aai/model-loader'
+ pom: 'pom.xml'
+ mvn-options: 'docker:build'
+ - 'aai_resources_aai-resources':
+ repo: 'aai/resources'
+ pom: 'aai-resources/pom.xml'
+ mvn-options: 'docker:build'
+ - 'aai_search-data-service':
+ repo: 'aai/search-data-service'
+ mvn-options: 'docker:build'
+ - 'aai_sparky-be':
+ repo: 'aai/sparky-be'
+ mvn-options: 'docker:build'
+ - 'aai_traversal_aai-traversal':
+ repo: 'aai/traversal'
+ pom: 'aai-traversal/pom.xml'
+ mvn-options: 'docker:build'
+ - 'appc':
+ repo: 'appc/deployment'
+ mvn-options: '-P docker'
+ - 'dcae_dcae-controller':
+ repo: 'dcae/demo'
+ shell-cmd: 'bash dcae-demo-controller/src/main/docker-build/build.sh'
+ - 'dcae_dcae-dmaapbc':
+ repo: 'dcae/dmaapbc'
+ shell-cmd: 'docker build -f ./Dockerfile .'
+ - 'dcae_dcae-inventory':
+ repo: 'dcae/dcae-inventory'
+ mvn-options: 'docker:build'
+ - 'mso':
+ repo: 'mso'
+ pom: 'packages/docker/pom.xml'
+ mvn-options: '-P docker'
+ - 'policy':
+ repo: 'policy/docker'
+ shell-cmd: './docker_build.sh'
+ - 'portal_ecomp-portal-widget-ms':
+ repo: 'portal'
+ pom: 'ecomp-portal-widget-ms/pom.xml'
+ mvn-options: 'docker:build'
+ - 'sdc':
+ repo: 'sdc'
+ pom: 'pom.xml'
+ mvn-options: '-P docker'
+ - 'sdnc':
+ repo: 'sdnc/oam'
+ mvn-options: '-P docker'
+ - 'vid':
+ repo: 'vid'
+ mvn-options: '-P docker'
+
+- project:
+ name: onap-docker-without-pom
+ jobs:
+ - 'docker-without-pom'
+ project:
+ - 'dcae_dcae-orch-dispatcher':
+ repo: 'dcae/orch-dispatcher'
+ shell-cmd: 'docker build -f ./Dockerfile .'
+ - 'portal':
+ repo: 'portal'
+ shell-cmd: 'git -C ecompsdkos pull || git clone $GIT_NO_PROJECT/ecompsdkos; git -C dmaapbc pull || git clone $GIT_NO_PROJECT/ui/dmaapbc dmaapbc; cd deliveries; chmod +x *.sh; ./run.sh'