Change template {name} field into {project-name}
[releng/builder.git] / jjb / integration / integration-distribution-jobs.yaml
index 88877d06778a1a0e58f9f36613ac834cc4477874..528c7becb83ec44eaa21f6bcd5ad501af0b9b469 100644 (file)
@@ -2,13 +2,14 @@
 - project:
     name: integration-distribution
     jobs:
-        - '{name}-verify-python-{stream}'
+        - '{project-name}-verify-python-{stream}'
         - 'integration-distribution-verify-{stream}'
         - 'integration-distribution-merge-{stream}'
         - 'integration-distribution-deploy-{stream}'
         - 'integration-distribution-offline-{stream}'
 
     project: integration/distribution
+    project-name: integration-distribution
 
     stream:
         - boron:
@@ -26,7 +27,7 @@
     name: 'integration-distribution-verify-{stream}'
 
     project-type: maven
-    node: dynamic_verify
+    node: centos7-java-builder-2c-8g
     concurrent: true
     jdk: '{jre}'
 
         artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-        - project-parameter:
-            project: 'integration/distribution'
-        - gerrit-parameters:
+        - opendaylight-infra-parameters:
             project: '{project}'
             branch: '{branch}'
             refspec: 'refs/heads/{branch}'
+            artifacts: '{archive-artifacts} **/dependency_tree.txt'
         - integration-patch-refspec:
             branch: '$GERRIT_REFSPEC'
 
     scm:
         - gerrit-trigger-scm:
-            credentials-id: '{ssh-credentials}'
             refspec: '$PATCHREFSPEC'
             choosing-strategy: 'gerrit'
 
@@ -73,7 +72,7 @@
     maven:
         maven-name: '{mvn33}'
         root-pom: 'pom.xml'
-        goals: 'clean install -V -B -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dstream={stream}'
+        goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dstream={stream}'
         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
         settings: 'integration-settings'
         settings-type: cfp
               predefined-parameters:
                   BUNDLEURL=$BUNDLEURL
 
-    publishers:
-        - email-notification:
-            email-prefix: '[integration]'
-        - archive-artifacts:
-            artifacts: '**/target/surefire-reports/*-output.txt, '
+    reporters:
         - findbugs
+
+    publishers:
         - jacoco-report
+        - archive-build:
+            maven-version: '{mvn33}'
+        - email-notification:
+            email-prefix: '[int/dist]'
 
 - job-template:
     name: 'integration-distribution-merge-{stream}'
 
     project-type: maven
-    node: dynamic_merge
+    node: centos7-java-builder-2c-8g
     jdk: '{jre}'
 
     logrotate:
         artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
-        - project-parameter:
-            project: 'integration/distribution'
-        - gerrit-parameters:
+        - opendaylight-infra-parameters:
             project: '{project}'
             branch: '{branch}'
             refspec: 'refs/heads/{branch}'
+            artifacts: '{archive-artifacts} **/dependency_tree.txt'
 
     scm:
         - gerrit-trigger-scm:
-            credentials-id: '{ssh-credentials}'
             refspec: ''
             choosing-strategy: 'default'
 
     maven:
         maven-name: '{mvn33}'
         root-pom: 'pom.xml'
-        goals: 'clean install -V -B -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dmerge -Dstream={stream}'
+        goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dmerge -Dstream={stream}'
         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
         settings: 'integration-settings'
         settings-type: cfp
         - findbugs
 
     publishers:
-        - archive-artifacts:
-            artifacts: '**/target/surefire-reports/*-output.txt, '
-        - email-notification:
-            email-prefix: '[integration]'
         - maven-deploy:
             id: ''
             unique-version: true
             deploy-unstable: false
         - jacoco-report
+        - archive-build:
+            maven-version: '{mvn33}'
+        - email-notification:
+            email-prefix: '[int/dist]'
 
 # Template: integration-distribution-deploy-{stream}
 # Goal: Verify distribution starts with no issues when all features are loaded
     name: 'integration-distribution-deploy-{stream}'
 
     project-type: freestyle
-    node: dynamic_verify
+    node: centos7-java-builder-2c-8g
     concurrent: true
 
     logrotate:
         artifactNumToKeep: '{build-num-to-keep}'
 
     parameters:
-        - project-parameter:
-            project: 'integration/distribution'
+        - opendaylight-infra-parameters:
+            project: '{project}'
+            branch: '{branch}'
+            refspec: 'refs/heads/{branch}'
+            artifacts: '{archive-artifacts}'
         - integration-branch:
             branch: '{branch}'
         - integration-bundleurl:
 
     publishers:
         - email-notification:
-            email-prefix: '[integration]'
+            email-prefix: '[int/dist]'
         - integration-csit-archive-build
         - archive-build:
             maven-version: '{mvn33}'
     name: 'integration-distribution-offline-{stream}'
 
     project-type: freestyle
-    node: dynamic_verify
+    node: centos7-java-builder-2c-8g
 
     logrotate:
         daysToKeep: '{build-days-to-keep}'
         artifactNumToKeep: '{build-num-to-keep}'
 
     parameters:
-        - project-parameter:
-            project: 'integration/distribution'
+        - opendaylight-infra-parameters:
+            project: '{project}'
+            branch: '{branch}'
+            refspec: 'refs/heads/{branch}'
+            artifacts: '{archive-artifacts}'
         - integration-branch:
             branch: '{branch}'
         - integration-bundleurl:
 
     publishers:
         - email-notification:
-            email-prefix: '[integration]'
+            email-prefix: '[int/dist]'
         - integration-csit-archive-build
         - archive-build:
             maven-version: '{mvn33}'