summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrama-huawei <rama.subba.reddy.s@huawei.com>2018-10-04 11:42:44 +0530
committerrama-huawei <rama.subba.reddy.s@huawei.com>2018-10-04 11:44:42 +0530
commit8554213fa22afbfdb0a9b5815354de90108b6ffb (patch)
treee90aaf43fc80a335e5e9fd5029f9d65f88125557
parent1462bcf1f9540dda825a81175d9c2ca1bc249583 (diff)
Add jenkins job file for RESTCONF Collector
Issue-ID: DCAEGEN2-612 Change-Id: I9afbf627fd5d891250cfffb4261a4d3ec4783651 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
-rw-r--r--jjb/dcaegen2/dcaegen2-collectors-restconf.yaml36
1 files changed, 36 insertions, 0 deletions
diff --git a/jjb/dcaegen2/dcaegen2-collectors-restconf.yaml b/jjb/dcaegen2/dcaegen2-collectors-restconf.yaml
new file mode 100644
index 000000000..812b22fcd
--- /dev/null
+++ b/jjb/dcaegen2/dcaegen2-collectors-restconf.yaml
@@ -0,0 +1,36 @@
+---
+- project:
+ name: dcaegen2-collectors-restconf
+ project-name: 'dcaegen2-collectors-restconf'
+ jobs:
+ - gerrit-maven-clm
+ - '{project-name}-{stream}-verify-java'
+ - '{project-name}-{stream}-merge-java'
+ - '{project-name}-{stream}-release-version-java-daily'
+
+ project: 'dcaegen2/collectors/restconf'
+ stream:
+ - 'master':
+ branch: 'master'
+ mvn-settings: 'dcaegen2-collectors-restconf-settings'
+ # due to a strange macro / variable translation problem this needs
+ # to be passed as a string block to properly get the properties
+ # correctly defined in the job
+ maven-deploy-properties: |
+ deployAtEnd=true
+ files: '**'
+ archive-artifacts: ''
+ build-node: 'ubuntu1604-docker-8c-8g'
+
+- project:
+ name: dcaegen2-collectors-restconf-sonar
+ jobs:
+ - gerrit-maven-sonar
+ cron: '@daily'
+ build-node: ubuntu1604-docker-8c-8g
+ project: 'dcaegen2/collectors/restconf'
+ project-name: 'dcaegen2-collectors-restconf'
+ branch: 'master'
+ mvn-settings: 'dcaegen2-collectors-restconf-settings'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'