Merge "Add yamllint to tox"
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 2 Mar 2017 05:50:39 +0000 (05:50 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 2 Mar 2017 05:50:39 +0000 (05:50 +0000)
24 files changed:
jjb/autorelease/autorelease-macros.yaml
jjb/autorelease/autorelease-projects.yaml
jjb/autorelease/autorelease-templates.yaml
jjb/autorelease/autorelease-version-management.yaml
jjb/integration-distribution-delete-snaphot-artifacts.sh [new file with mode: 0644]
jjb/integration/distribution-jobs.yaml
jjb/integration/distribution/distribution-csit-userfeatures.yaml
jjb/integration/distribution/distribution.yaml
jjb/integration/integration-macros.yaml
jjb/integration/integration-templates.yaml
jjb/integration/integration-test-jobs.yaml
jjb/releng-defaults.yaml
jjb/releng-templates-java.yaml
jjb/releng-templates.yaml
jjb/tcpmd5/tcpmd5.yaml
jjb/topoprocessing/topoprocessing-csit-topology-operation.yaml
jjb/topoprocessing/topoprocessing.yaml
jjb/transportpce/transportpce.yaml
jjb/tsdr/tsdr-csit-cassandra.yaml
jjb/tsdr/tsdr-csit-hbase.yaml
jjb/tsdr/tsdr-csit-hsqldb.yaml
jjb/tsdr/tsdr.yaml
jjb/ttp/ttp.yaml
jjb/yangtools/yangtools-csit-system.yaml

index 86f981eed2eeb019b024675f344d3e41a97aab6d..3e3008d310533ec737f64c44e2422b56b153ba1e 100644 (file)
@@ -1,51 +1,52 @@
+---
 # Macros for the AutoRelease project
 - parameter:
     name: autorelease-release-tag
     parameters:
-        - string:
-            name: RELEASE_TAG
-            default: '{release-tag}'
-            description: "The Release train tag to use eg. Beryllium-SR1"
+      - string:
+          name: RELEASE_TAG
+          default: '{release-tag}'
+          description: "The Release train tag to use eg. Beryllium-SR1"
 
 - parameter:
     name: autorelease-release-branch
     parameters:
-        - string:
-            name: RELEASE_BRANCH
-            default: '{release-branch}'
-            description: "The Release train branch to base build off eg. stable/beryllium"
+      - string:
+          name: RELEASE_BRANCH
+          default: '{release-branch}'
+          description: "The Release train branch to base build off eg. stable/beryllium"
 
 - wrapper:
     name: autorelease-build-timeout
     wrappers:
-        - timeout:
-            type: absolute
-            timeout: 1440
-            fail: true
+      - timeout:
+          type: absolute
+          timeout: 1440
+          fail: true
 
 - builder:
     name: autorelease-checkout-gerrit-patch
     builders:
-        - shell: |
-            cd ${GERRIT_PROJECT}
-            echo "Checking out ${GERRIT_PROJECT} patch ${GERRIT_REFSPEC}..."
-            git fetch origin ${GERRIT_REFSPEC} && git checkout FETCH_HEAD
-            cd ..
+      - shell: |
+          cd ${GERRIT_PROJECT}
+          echo "Checking out ${GERRIT_PROJECT} patch ${GERRIT_REFSPEC}..."
+          git fetch origin ${GERRIT_REFSPEC} && git checkout FETCH_HEAD
+          cd ..
 
 - builder:
     name: autorelease-cfp
     builders:
-        - config-file-provider:
-            files:
-                - file-id: 'autorelease-settings'
-                  variable: 'SETTINGS_FILE'
-                - file-id: 'odl-global-settings'
-                  variable: 'GLOBAL_SETTINGS_FILE'
+      - config-file-provider:
+          files:
+            - file-id: 'autorelease-settings'
+              variable: 'SETTINGS_FILE'
+            - file-id: 'odl-global-settings'
+              variable: 'GLOBAL_SETTINGS_FILE'
 
 - builder:
     name: autorelease-determine-merge-order
     builders:
-       - shell: |
+      - shell: |
           # TODO: Remove this condition once stable/beryllium is no longer
           #       officially maintained.
           if [ "$GERRIT_BRANCH" != "stable/beryllium" ]; then
 - builder:
     name: autorelease-maven-deploy
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-autorelease-maven-deploy.sh
+      - shell: !include-raw: include-raw-autorelease-maven-deploy.sh
 
 - builder:
     name: autorelease-maven-sources
     builders:
-        - maven-target:
-            maven-version: '{maven-version}'
-            pom: 'pom.xml'
-            goals: '--quiet dependency:sources -DoutputFile=$WORKSPACE/sources.log -DappendOutput -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
-            java-opts:
-                - '-Xmx4096m -XX:MaxPermSize=1024m'
-            settings: '{settings}'
-            settings-type: cfp
-            global-settings: '{global-settings}'
-            global-settings-type: cfp
+      - maven-target:
+          maven-version: '{maven-version}'
+          pom: 'pom.xml'
+          goals: >
+              --quiet dependency:sources
+              -DoutputFile=$WORKSPACE/sources.log
+              -DappendOutput
+              -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+          java-opts:
+            - '-Xmx4096m -XX:MaxPermSize=1024m'
+          settings: '{settings}'
+          settings-type: cfp
+          global-settings: '{global-settings}'
+          global-settings-type: cfp
 
 - builder:
     name: autorelease-maven-sources-post-process
     builders:
-        - shell: |
-            awk '/The following files have NOT been resolved:/,/^$/' sources.log > missing-sources.log
+      - shell: |
+          awk '/The following files have NOT been resolved:/,/^$/' sources.log > missing-sources.log
 
 - builder:
     name: autorelease-generate-taglist
     builders:
-        - shell: |
-            echo autorelease `git rev-parse --verify HEAD` ${RELEASE_TAG} | tee -a $WORKSPACE/taglist.log
-            git submodule foreach 'echo $path `git rev-parse --verify HEAD` ${RELEASE_TAG} | tee -a $WORKSPACE/taglist.log'
+      - shell: |
+          echo autorelease `git rev-parse --verify HEAD` ${RELEASE_TAG} \
+              | tee -a $WORKSPACE/taglist.log
+          git submodule foreach 'echo $path `git rev-parse --verify HEAD` ${RELEASE_TAG} \
+              | tee -a $WORKSPACE/taglist.log'
 
 - builder:
     name: autorelease-distribute-taglist
     builders:
-        - shell: |
-            if [ -d "integration/distribution/distributions" ]; then
-                cp -vf "$WORKSPACE/taglist.log" "integration/distribution/distributions/karaf/src/main/assembly/"
-            else
-                cp -vf "$WORKSPACE/taglist.log" "integration/distribution/distribution-karaf/src/main/assembly/"
-            fi
+      - shell: |
+          if [ -d "integration/distribution/distributions" ]; then
+              cp -vf "$WORKSPACE/taglist.log" "integration/distribution/distributions/karaf/src/main/assembly/"
+          else
+              cp -vf "$WORKSPACE/taglist.log" "integration/distribution/distribution-karaf/src/main/assembly/"
+          fi
 
 - builder:
     name: autorelease-generate-release-patches
     builders:
-    - shell:
-        !include-raw:
-            - include-raw-autorelease-release-versions.sh
+      - shell: !include-raw: include-raw-autorelease-release-versions.sh
 
 - builder:
     name: autorelease-sys-stats
     builders:
-        - shell: |
-            uname -a
-            df -h
+      - shell: |
+          uname -a
+          df -h
 
 - builder:
     name: autorelease-get-integration-test-variables
     builders:
-    - shell:
-        !include-raw:
-            - include-raw-autorelease-get-integration-test-variables.sh
-    - inject:
-        properties-file: variables.prop
+      - shell: !include-raw: include-raw-autorelease-get-integration-test-variables.sh
+      - inject:
+          properties-file: variables.prop
 
 - builder:
     name: autorelease-generate-project-report
     builders:
-    - shell:
-        !include-raw:
-            - include-raw-generate-project-report.sh
+      - shell: !include-raw: include-raw-generate-project-report.sh
 
 - builder:
     name: autorelease-fix-relative-paths
     builders:
-        - shell: |
-            ./scripts/fix-relativepaths.sh
+      - shell: |
+          ./scripts/fix-relativepaths.sh
 
 - publisher:
     # include-raw-autorelease-notify-build-failure.sh searches console log for
     publishers:
       - postbuildscript:
           builders:
-              - shell:
-                  !include-raw: include-raw-autorelease-notify-build-failure.sh
-          script-only-if-succeeded: False
-          script-only-if-failed: True
+            - shell: !include-raw: include-raw-autorelease-notify-build-failure.sh
+          script-only-if-succeeded: 'False'
+          script-only-if-failed: 'True'
index d9ad7db79a4f46241793726117c2d56af9bf2da1..6eddc0dbf3fb22becec736ed014d721bf6b572e1 100644 (file)
@@ -1,25 +1,26 @@
+---
 - project:
     name: autorelease-projects
     jobs:
-        - 'autorelease-release-{stream}'
-        - 'autorelease-project-report-{stream}'
+      - 'autorelease-release-{stream}'
+      - 'autorelease-project-report-{stream}'
 
     stream:
-    - carbon:
-        next-release-tag: Carbon
-        branch: 'master'
-        jdk: 'openjdk8'
-        integration-test: carbon
-    - boron:
-        next-release-tag: Boron-SR3
-        branch: 'stable/boron'
-        jdk: 'openjdk8'
-        integration-test: boron
-    - beryllium:
-        next-release-tag: Beryllium-SR5
-        branch: 'stable/beryllium'
-        jdk: 'openjdk7'
-        integration-test: beryllium
+      - carbon:
+          next-release-tag: Carbon
+          branch: 'master'
+          jdk: 'openjdk8'
+          integration-test: carbon
+      - boron:
+          next-release-tag: Boron-SR3
+          branch: 'stable/boron'
+          jdk: 'openjdk8'
+          integration-test: boron
+      - beryllium:
+          next-release-tag: Beryllium-SR5
+          branch: 'stable/beryllium'
+          jdk: 'openjdk7'
+          integration-test: beryllium
 
     project: 'releng/autorelease'
     archive-artifacts: '**/*.prop **/*.log **/patches/*.bundle **/patches/*.patch all-bundles.tar.gz'
 - project:
     name: autorelease-projects-guava21
     jobs:
-        - 'autorelease-release-guava21-{stream}'
+      - 'autorelease-release-guava21-{stream}'
 
     stream:
-    - carbon:
-        next-release-tag: Guava21-Testing
-        branch: 'master'
-        jdk: 'openjdk8'
-        integration-test: carbon
+      - carbon:
+          next-release-tag: Guava21-Testing
+          branch: 'master'
+          jdk: 'openjdk8'
+          integration-test: carbon
 
     project: 'releng/autorelease'
     archive-artifacts: '**/*.prop **/*.log **/patches/*.bundle **/patches/*.patch all-bundles.tar.gz'
     jdk: '{jdk}'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '30'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '30'
 
     parameters:
-        - maven-exec:
-            maven-version: 'mvn33'
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
-        - autorelease-release-tag:
-            release-tag: '{next-release-tag}'
-        - autorelease-release-branch:
-            release-branch: '{branch}'
+      - maven-exec:
+          maven-version: 'mvn33'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - autorelease-release-tag:
+          release-tag: '{next-release-tag}'
+      - autorelease-release-branch:
+          release-branch: '{branch}'
 
     scm:
-        - git:
-            credentials-id: 'opendaylight-jenkins-ssh'
-            url: '$GIT_BASE'
-            refspec: '$GERRIT_REFSPEC'
-            branches:
-                - '$GERRIT_BRANCH'
-            choosing-strategy: 'gerrit'
-            skip-tag: true
-            submodule:
-                recursive: true
-                timeout: 60
+      - git:
+          credentials-id: 'opendaylight-jenkins-ssh'
+          url: '$GIT_BASE'
+          refspec: '$GERRIT_REFSPEC'
+          branches:
+            - '$GERRIT_BRANCH'
+          choosing-strategy: 'gerrit'
+          skip-tag: true
+          submodule:
+            recursive: true
+            timeout: 60
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '1440'
+      - opendaylight-infra-wrappers:
+          build-timeout: '1440'
 
     triggers:
-        - gerrit:
-            server-name: '{server-name}'
-            trigger-on:
-                - comment-added-contains-event:
-                    comment-contains-value: 'test-guava21-patches'
-            projects:
-              - project-compare-type: 'ANT'
-                project-pattern: '{project}'
-                branches:
-                  - branch-compare-type: 'ANT'
-                    branch-pattern: '**/{branch}'
-            skip-vote:
-                successful: true
-                failed: true
-                unstable: true
-                notbuilt: true
+      - gerrit:
+          server-name: '{server-name}'
+          trigger-on:
+            - comment-added-contains-event:
+                comment-contains-value: 'test-guava21-patches'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: '{project}'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+          skip-vote:
+            successful: true
+            failed: true
+            unstable: true
+            notbuilt: true
 
     builders:
-        - shell: |
-            #!/bin/bash
-            cd bgpcep
-            git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/bgpcep
-            git review -d 50184
-            cd ..
-            cd centinel
-            git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/centinel
-            git review -d 50185
-            cd ..
-            cd controller
-            git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/controller
-            git review -d 50176
-            cd ..
-            cd didm
-            git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/didm
-            git review -d 50187
-            cd ..
-            cd faas
-            git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/faas
-            git review -d 50190
-            cd ..
-            cd genius
-            git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/genius
-            git review -d 50192
-            cd ..
-            cd groupbasedpolicy
-            git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/groupbasedpolicy
-            git review -d 50200
-            cd ..
-            cd netvirt
-            git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/netvirt
-            git review -d 50215
-            cd ..
-            cd odlparent
-            git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/odlparent
-            git review -d 49820
-            cd ..
-            cd openflowplugin
-            git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/openflowplugin
-            git review -d 50183
-            cd ..
-            cd ovsdb
-            git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/ovsdb
-            git review -d 50191
-            cd ..
-            cd yangtools
-            git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/yangtools
-            git review -d 50173
-            cd ..
-        # force jenkins install of maven version before any shell scripts use it
-        - maven-target:
-            maven-version: 'mvn33'
-            goals: '-version'
-            settings: 'autorelease-settings'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
-        - wipe-local-maven-repo
-        - jacoco-nojava-workaround
-        - shell: "./scripts/list-project-dependencies.sh"
-        - autorelease-determine-merge-order
-        - autorelease-cfp:
-            autorelease-settings: 'autorelease-settings'
-            odl-global-settings: 'odl-global-settings'
-        - autorelease-generate-taglist
-        - autorelease-distribute-taglist
-        - autorelease-generate-release-patches
-        # In a perfect world projects should be releasing separately and we consume them
-        # via a project that pulls the release bits from each project from Nexus.
-        # Keep the patches compatible with that ideal, but apply an edit
-        # to enable building in a single maven reactor afterwards.
-        - autorelease-fix-relative-paths
-        - maven-target:
-              maven-version: 'mvn33'
-              pom: 'pom.xml'
-              goals: 'clean deploy -V -B -Pintegrationtests,docs,repoBuild -Djenkins -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage'
-              java-opts:
-                - '-Xmx10g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
-              settings: 'autorelease-settings'
-              settings-type: cfp
-              global-settings: 'odl-global-settings'
-              global-settings-type: cfp
-        - autorelease-maven-deploy
-        - autorelease-get-integration-test-variables
-        - autorelease-maven-sources:
-            maven-version: 'mvn33'
-            settings: 'autorelease-settings'
-            global-settings: 'odl-global-settings'
-        - autorelease-maven-sources-post-process
-        - autorelease-sys-stats
-        - shell: |
-            mkdir -p archives/
-            cp *.log *.prop $_
+      - shell: |
+          #!/bin/bash
+          cd bgpcep
+          git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/bgpcep
+          git review -d 50184
+          cd ..
+          cd centinel
+          git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/centinel
+          git review -d 50185
+          cd ..
+          cd controller
+          git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/controller
+          git review -d 50176
+          cd ..
+          cd didm
+          git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/didm
+          git review -d 50187
+          cd ..
+          cd faas
+          git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/faas
+          git review -d 50190
+          cd ..
+          cd genius
+          git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/genius
+          git review -d 50192
+          cd ..
+          cd groupbasedpolicy
+          git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/groupbasedpolicy
+          git review -d 50200
+          cd ..
+          cd netvirt
+          git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/netvirt
+          git review -d 50215
+          cd ..
+          cd odlparent
+          git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/odlparent
+          git review -d 49820
+          cd ..
+          cd openflowplugin
+          git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/openflowplugin
+          git review -d 50183
+          cd ..
+          cd ovsdb
+          git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/ovsdb
+          git review -d 50191
+          cd ..
+          cd yangtools
+          git remote add gerrit ssh://jenkins-$SILO@git.opendaylight.org:29418/yangtools
+          git review -d 50173
+          cd ..
+      # force jenkins install of maven version before any shell scripts use it
+      - maven-target:
+          maven-version: 'mvn33'
+          goals: '-version'
+          settings: 'autorelease-settings'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
+      - wipe-local-maven-repo
+      - jacoco-nojava-workaround
+      - shell: "./scripts/list-project-dependencies.sh"
+      - autorelease-determine-merge-order
+      - autorelease-cfp:
+          autorelease-settings: 'autorelease-settings'
+          odl-global-settings: 'odl-global-settings'
+      - autorelease-generate-taglist
+      - autorelease-distribute-taglist
+      - autorelease-generate-release-patches
+      # In a perfect world projects should be releasing separately and we consume them
+      # via a project that pulls the release bits from each project from Nexus.
+      # Keep the patches compatible with that ideal, but apply an edit
+      # to enable building in a single maven reactor afterwards.
+      - autorelease-fix-relative-paths
+      - maven-target:
+          maven-version: 'mvn33'
+          pom: 'pom.xml'
+          goals: >
+              clean deploy -V -B -Pintegrationtests,docs,repoBuild -Djenkins
+              -Dcheckstyle.skip=true
+              -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+              -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage
+          java-opts:
+            - '-Xmx10g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+          settings: 'autorelease-settings'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
+      - autorelease-maven-deploy
+      - autorelease-get-integration-test-variables
+      - autorelease-maven-sources:
+          maven-version: 'mvn33'
+          settings: 'autorelease-settings'
+          global-settings: 'odl-global-settings'
+      - autorelease-maven-sources-post-process
+      - autorelease-sys-stats
+      - shell: |
+          mkdir -p archives/
+          cp *.log *.prop $_
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[autorelease]'
-        - trigger-parameterized-builds:
-            - project: 'integration-distribution-test-{integration-test}'
-              condition: UNSTABLE_OR_BETTER
-              property-file: variables.jenkins-trigger
-              fail-on-missing: true
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[autorelease]'
+      - trigger-parameterized-builds:
+          - project: 'integration-distribution-test-{integration-test}'
+            condition: UNSTABLE_OR_BETTER
+            property-file: variables.jenkins-trigger
+            fail-on-missing: true
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
index 5ac36ad7c3499ca4c9a1a09f180591421f9d746f..1261ac9e5a29d9265139fdcb3b95c486abfd2477 100644 (file)
@@ -1,5 +1,5 @@
+---
 # Autorelease build jobs
-
 - job-template:
     name: 'autorelease-release-{stream}'
 
     jdk: '{jdk}'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '30'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '30'
 
     parameters:
-        - maven-exec:
-            maven-version: 'mvn33'
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
-        - autorelease-release-tag:
-            release-tag: '{next-release-tag}'
-        - autorelease-release-branch:
-            release-branch: '{branch}'
+      - maven-exec:
+          maven-version: 'mvn33'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - autorelease-release-tag:
+          release-tag: '{next-release-tag}'
+      - autorelease-release-branch:
+          release-branch: '{branch}'
 
     scm:
-        - git:
-            credentials-id: 'opendaylight-jenkins-ssh'
-            url: '$GIT_BASE'
-            refspec: '$GERRIT_REFSPEC'
-            branches:
-                - '$GERRIT_BRANCH'
-            choosing-strategy: 'gerrit'
-            skip-tag: true
-            submodule:
-                recursive: true
-                timeout: 60
+      - git:
+          credentials-id: 'opendaylight-jenkins-ssh'
+          url: '$GIT_BASE'
+          refspec: '$GERRIT_REFSPEC'
+          branches:
+            - '$GERRIT_BRANCH'
+          choosing-strategy: 'gerrit'
+          skip-tag: true
+          submodule:
+            recursive: true
+            timeout: 60
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '1440'
+      - opendaylight-infra-wrappers:
+          build-timeout: '1440'
 
     triggers:
-        - timed: 'H 0 * * *'
+      - timed: 'H 0 * * *'
 
     builders:
-        # force jenkins install of maven version before any shell scripts use it
-        - maven-target:
-            maven-version: 'mvn33'
-            goals: '-version'
-            settings: 'autorelease-settings'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
-        - wipe-local-maven-repo
-        - jacoco-nojava-workaround
-        - shell: "./scripts/list-project-dependencies.sh"
-        - autorelease-determine-merge-order
-        - autorelease-cfp:
-            autorelease-settings: 'autorelease-settings'
-            odl-global-settings: 'odl-global-settings'
-        - autorelease-generate-taglist
-        - autorelease-distribute-taglist
-        - distribute-build-url:
-            path: 'integration/distribution/distribution-karaf/src/main/assembly'
-        - autorelease-generate-release-patches
-        # In a perfect world projects should be releasing separately and we consume them
-        # via a project that pulls the release bits from each project from Nexus.
-        # Keep the patches compatible with that ideal, but apply an edit
-        # to enable building in a single maven reactor afterwards.
-        - autorelease-fix-relative-paths
-        - maven-target:
-              maven-version: 'mvn33'
-              pom: 'pom.xml'
-              goals: 'clean deploy -V -B -Pintegrationtests,docs,repoBuild -Djenkins -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage'
-              java-opts:
-                - '-Xmx10g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
-              settings: 'autorelease-settings'
-              settings-type: cfp
-              global-settings: 'odl-global-settings'
-              global-settings-type: cfp
-        - autorelease-maven-deploy
-        - autorelease-get-integration-test-variables
-        - autorelease-maven-sources:
-            maven-version: 'mvn33'
-            settings: 'autorelease-settings'
-            global-settings: 'odl-global-settings'
-        - autorelease-maven-sources-post-process
-        - autorelease-sys-stats
-        - shell: |
-            mkdir -p archives/
-            cp *.log *.prop $_
+      # force jenkins install of maven version before any shell scripts use it
+      - maven-target:
+          maven-version: 'mvn33'
+          goals: '-version'
+          settings: 'autorelease-settings'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
+      - wipe-local-maven-repo
+      - jacoco-nojava-workaround
+      - shell: "./scripts/list-project-dependencies.sh"
+      - autorelease-determine-merge-order
+      - autorelease-cfp:
+          autorelease-settings: 'autorelease-settings'
+          odl-global-settings: 'odl-global-settings'
+      - autorelease-generate-taglist
+      - autorelease-distribute-taglist
+      - distribute-build-url:
+          path: 'integration/distribution/distribution-karaf/src/main/assembly'
+      - autorelease-generate-release-patches
+      # In a perfect world projects should be releasing separately and we consume them
+      # via a project that pulls the release bits from each project from Nexus.
+      # Keep the patches compatible with that ideal, but apply an edit
+      # to enable building in a single maven reactor afterwards.
+      - autorelease-fix-relative-paths
+      - maven-target:
+          maven-version: 'mvn33'
+          pom: 'pom.xml'
+          goals: >
+              clean deploy -V -B -Pintegrationtests,docs,repoBuild -Djenkins
+              -Dcheckstyle.skip=true
+              -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+              -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage
+          java-opts:
+            - '-Xmx10g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+          settings: 'autorelease-settings'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
+      - autorelease-maven-deploy
+      - autorelease-get-integration-test-variables
+      - autorelease-maven-sources:
+          maven-version: 'mvn33'
+          settings: 'autorelease-settings'
+          global-settings: 'odl-global-settings'
+      - autorelease-maven-sources-post-process
+      - autorelease-sys-stats
+      - shell: |
+          mkdir -p archives/
+          cp *.log *.prop $_
 
     publishers:
-        - opendaylight-infra-notify-status
-        - archive:
-            # Need to archive dependencies.log in Jenkins to provide a simple
-            # way for downstream jobs to pull the latest version of this file
-            # in their builds.
-            artifacts: 'dependencies.log'
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[autorelease]'
-        - trigger-parameterized-builds:
-            - project: 'integration-distribution-test-{integration-test}'
-              condition: UNSTABLE_OR_BETTER
-              property-file: variables.jenkins-trigger
-              fail-on-missing: true
-            - project: 'packaging-build-rpm-master'
-              condition: UNSTABLE_OR_BETTER
-              predefined-parameters: DOWNLOAD_URL=$BUNDLEURL
-              property-file: variables.jenkins-trigger
-              fail-on-missing: true
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - opendaylight-infra-notify-status
+      - archive:
+          # Need to archive dependencies.log in Jenkins to provide a simple
+          # way for downstream jobs to pull the latest version of this file
+          # in their builds.
+          artifacts: 'dependencies.log'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[autorelease]'
+      - trigger-parameterized-builds:
+          - project: 'integration-distribution-test-{integration-test}'
+            condition: UNSTABLE_OR_BETTER
+            property-file: variables.jenkins-trigger
+            fail-on-missing: true
+          - project: 'packaging-build-rpm-master'
+            condition: UNSTABLE_OR_BETTER
+            predefined-parameters: DOWNLOAD_URL=$BUNDLEURL
+            property-file: variables.jenkins-trigger
+            fail-on-missing: true
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 
 - job-template:
     node: centos7-java-builder-2c-8g
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
-        - string:
-            name: REPORT_DIR
-            default: '$WORKSPACE/project-reports'
-            description: "The directory containing project reports"
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - string:
+          name: REPORT_DIR
+          default: '$WORKSPACE/project-reports'
+          description: "The directory containing project reports"
 
     scm:
-        - git:
-            credentials-id: 'opendaylight-jenkins-ssh'
-            url: '$GIT_BASE'
-            refspec: '$GERRIT_REFSPEC'
-            branches:
-                - '$GERRIT_BRANCH'
-            choosing-strategy: 'gerrit'
-            skip-tag: true
-            submodule:
-                recursive: true
+      - git:
+          credentials-id: 'opendaylight-jenkins-ssh'
+          url: '$GIT_BASE'
+          refspec: '$GERRIT_REFSPEC'
+          branches:
+            - '$GERRIT_BRANCH'
+          choosing-strategy: 'gerrit'
+          skip-tag: true
+          submodule:
+            recursive: true
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '30'
+      - opendaylight-infra-wrappers:
+          build-timeout: '30'
 
     triggers:
-        - timed: '0 0 * * 0'
+      - timed: '0 0 * * 0'
 
     builders:
-        - shell: 'echo "DATE=`date +%Y-%m-%d`" > $WORKSPACE/variables.prop'
-        - inject:
-            properties-file: variables.prop
-        - autorelease-generate-project-report
-        - shell: "./scripts/list-project-dependencies.sh"
-        - autorelease-determine-merge-order
-        - autorelease-sys-stats
+      - shell: 'echo "DATE=`date +%Y-%m-%d`" > $WORKSPACE/variables.prop'
+      - inject:
+          properties-file: variables.prop
+      - autorelease-generate-project-report
+      - shell: "./scripts/list-project-dependencies.sh"
+      - autorelease-determine-merge-order
+      - autorelease-sys-stats
 
     publishers:
-        - email-ext:
-            attachments: 'project-reports/*.log'
-            recipients: 'skitt@redhat.com thanh.ha@linuxfoundation.org'
-            reply-to: dev@lists.opendaylight.org
-            content-type: default
-            subject: '[releng] ODL {stream} project report for ${{ENV, var="DATE"}}'
-            body: |
-                This is a project report generated on $DATE listing the commit
-                history of ODL projects for the past week. See attached
-                git-report.log
-                Archive also available on Jenkins at $BUILD_URL
-            always: true
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - email-ext:
+          attachments: 'project-reports/*.log'
+          recipients: 'skitt@redhat.com thanh.ha@linuxfoundation.org'
+          reply-to: dev@lists.opendaylight.org
+          content-type: default
+          subject: '[releng] ODL {stream} project report for ${{ENV, var="DATE"}}'
+          body: |
+              This is a project report generated on $DATE listing the commit
+              history of ODL projects for the past week. See attached
+              git-report.log
+              Archive also available on Jenkins at $BUILD_URL
+          always: true
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
index 7761c8683d4e86afdb02b1ea6552c175b43eaff7..7093d2c9784f2f7ffe30ab4e479085b33618199b 100644 (file)
@@ -1,12 +1,13 @@
+---
 - project:
     name: autorelease-version-management
     jobs:
-        - '{project-name}-verify-python-{stream}'
+      - '{project-name}-verify-python-{stream}'
 
     project: releng/autorelease
     project-name: autorelease-version-management
     toxdir: 'scripts/version_management'
 
     stream:
-        - boron:
-            branch: master
+      - boron:
+          branch: master
diff --git a/jjb/integration-distribution-delete-snaphot-artifacts.sh b/jjb/integration-distribution-delete-snaphot-artifacts.sh
new file mode 100644 (file)
index 0000000..be56d78
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash -x
+
+set +e  # To avoid failures in projects which generate zero snapshot artifacts.
+find /tmp/r/org/opendaylight/$GERRIT_PROJECT/ -path *-SNAPSHOT* -delete
+find /tmp/r/ -regex '.*/_remote.repositories\|.*/maven-metadata-local\.xml\|.*/maven-metadata-fake-nexus\.xml\|.*/resolver-status\.properties' -delete
+find /tmp/r/ -type d -empty -delete
+echo "# INFO: A listing of project related files left in local repository follows."
+find /tmp/r/org/opendaylight/$GERRIT_PROJECT/
+true  # To prevent the possibly non-zero return code from failing the job.
index 25e878499c1c4c710db9c134844334baf1d445ed..16052698b97f28dbb9d276e0d7ce064c76068a61 100644 (file)
@@ -1,26 +1,26 @@
-
+---
 - project:
     name: distribution-jobs
     jobs:
-        - '{project-name}-verify-python-{stream}'
-        - 'distribution-verify-{stream}'
-        - 'distribution-merge-{stream}'
-        - 'distribution-deploy-{stream}'
-        - 'distribution-offline-{stream}'
+      - '{project-name}-verify-python-{stream}'
+      - 'distribution-verify-{stream}'
+      - 'distribution-merge-{stream}'
+      - 'distribution-deploy-{stream}'
+      - 'distribution-offline-{stream}'
 
     project: integration/distribution
     project-name: distribution
 
     stream:
-        - carbon:
-            branch: 'master'
-            jre: 'openjdk8'
-        - boron:
-            branch: 'stable/boron'
-            jre: 'openjdk8'
-        - beryllium:
-            branch: 'stable/beryllium'
-            jre: 'openjdk7'
+      - carbon:
+          branch: 'master'
+          jre: 'openjdk8'
+      - boron:
+          branch: 'stable/boron'
+          jre: 'openjdk8'
+      - beryllium:
+          branch: 'stable/beryllium'
+          jre: 'openjdk7'
 
 
 - job-template:
     jdk: '{jre}'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof'
-        - integration-patch-refspec:
-            branch: '$GERRIT_REFSPEC'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof'
+      - integration-patch-refspec:
+          branch: '$GERRIT_REFSPEC'
 
     scm:
-        - gerrit-trigger-scm:
-            refspec: '$PATCHREFSPEC'
-            choosing-strategy: 'gerrit'
+      - gerrit-trigger-scm:
+          refspec: '$PATCHREFSPEC'
+          choosing-strategy: 'gerrit'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - gerrit-trigger-patch-submitted:
-            server: '{server-name}'
-            project: '{project}'
-            branch: '{branch}'
-            files: '**'
+      - gerrit-trigger-patch-submitted:
+          server: '{server-name}'
+          project: '{project}'
+          branch: '{branch}'
+          files: '**'
 
     prebuilders:
-        - integration-get-bundle-url-root
-        - inject:
-            properties-file: 'bundle.txt'
-        - wipe-org-opendaylight-repo
-        - provide-maven-settings:
-            global-settings-file: 'odl-global-settings'
-            settings-file: 'integration-settings'
+      - integration-get-bundle-url-root
+      - inject:
+          properties-file: 'bundle.txt'
+      - wipe-org-opendaylight-repo
+      - provide-maven-settings:
+          global-settings-file: 'odl-global-settings'
+          settings-file: 'integration-settings'
 
     maven:
-        maven-name: 'mvn33'
-        root-pom: 'pom.xml'
-        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
-        global-settings: 'odl-global-settings'
-        global-settings-type: cfp
-        ignore-upstream-changes: true
-        post-step-run-condition: 'SUCCESS'
+      maven-name: 'mvn33'
+      root-pom: 'pom.xml'
+      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
+      global-settings: 'odl-global-settings'
+      global-settings-type: cfp
+      ignore-upstream-changes: true
+      post-step-run-condition: 'SUCCESS'
 
     postbuilders:
-        - trigger-builds:
-            - project: 'distribution-deploy-{stream}'
-              block: true
-              predefined-parameters:
-                  BUNDLEURL=$BUNDLEURL
+      - trigger-builds:
+          - project: 'distribution-deploy-{stream}'
+            block: true
+            predefined-parameters:
+              BUNDLEURL=$BUNDLEURL
 
     reporters:
-        - findbugs
+      - findbugs
 
     publishers:
-        - jacoco-report
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[int/dist]'
+      - jacoco-report
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[int/dist]'
 
 
 - job-template:
     jdk: '{jre}'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof **/target/surefire-reports/*-output.txt'
-        - integration-bundleurl:
-            bundleurl: 'last'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof **/target/surefire-reports/*-output.txt'
+      - integration-bundleurl:
+          bundleurl: 'last'
     scm:
-        - gerrit-trigger-scm:
-            refspec: ''
-            choosing-strategy: 'default'
+      - gerrit-trigger-scm:
+          refspec: ''
+          choosing-strategy: 'default'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - gerrit-trigger-patch-merged:
-            server-name: '{server-name}'
-            name: 'integration/distribution'
-            branch: '{branch}'
+      - gerrit-trigger-patch-merged:
+          server-name: '{server-name}'
+          name: 'integration/distribution'
+          branch: '{branch}'
 
     prebuilders:
-        - wipe-org-opendaylight-repo
-        - jacoco-nojava-workaround
-        - integration-get-bundle-vars
-        - inject:
-            properties-file: 'bundle_vars.txt'
-        - provide-maven-settings:
-            global-settings-file: 'odl-global-settings'
-            settings-file: 'integration-settings'
-        - distribute-build-url:
-            path: 'distribution-karaf/src/main/assembly'
+      - wipe-org-opendaylight-repo
+      - jacoco-nojava-workaround
+      - integration-get-bundle-vars
+      - inject:
+          properties-file: 'bundle_vars.txt'
+      - provide-maven-settings:
+          global-settings-file: 'odl-global-settings'
+          settings-file: 'integration-settings'
+      - distribute-build-url:
+          path: 'distribution-karaf/src/main/assembly'
 
     maven:
-        maven-name: 'mvn33'
-        root-pom: 'pom.xml'
-        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
-        global-settings: 'odl-global-settings'
-        global-settings-type: cfp
+      maven-name: 'mvn33'
+      root-pom: 'pom.xml'
+      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
+      global-settings: 'odl-global-settings'
+      global-settings-type: cfp
 
     postbuilders:
-        - conditional-step:
-            condition-kind: file-exists
-            condition-filename: deploy-site.xml
-            condition-basedir: workspace
-
-            # The strategy here is intentional to run Maven site:deploy twice
-            # once using regular pom.xml to produce a staged-site which is
-            # then used by deploy-site.xml to push to Nexus. This is a
-            # workaround to Maven Site's default linking code which creates
-            # incorrect URLs for sites due to auto-detection assuming your
-            # project is configured in a certain way which ODL is not.
-            steps:
+      - conditional-step:
+          condition-kind: file-exists
+          condition-filename: deploy-site.xml
+          condition-basedir: workspace
+
+          # The strategy here is intentional to run Maven site:deploy twice
+          # once using regular pom.xml to produce a staged-site which is
+          # then used by deploy-site.xml to push to Nexus. This is a
+          # workaround to Maven Site's default linking code which creates
+          # incorrect URLs for sites due to auto-detection assuming your
+          # project is configured in a certain way which ODL is not.
+          steps:
             - maven-target:
                 maven-version: 'mvn33'
                 pom: pom.xml
                 goals: 'site:deploy -V -B -Dstream={stream}'
                 java-opts:
-                    - '-Xmx2g'
+                  - '-Xmx2g'
                 settings: 'integration-settings'
                 settings-type: cfp
                 global-settings: 'odl-global-settings'
                 pom: deploy-site.xml
                 goals: 'site:deploy -V -B -Dstream={stream}'
                 java-opts:
-                    - '-Xmx2g'
+                  - '-Xmx2g'
                 settings: 'integration-settings'
                 settings-type: cfp
                 global-settings: 'odl-global-settings'
                 global-settings-type: cfp
-        - integration-compare-distributions
-        # TODO: the output of the above command is not *friendly* for the reader because the most important info
-        # is listed last. This is fine/best for command line output, but for keeping in a file it would be better
-        # to put the summary at the beginning of the file. Some bash magic can be done here to make that happen.
+      - integration-compare-distributions
+    # TODO: the output of the above command is not *friendly* for the reader because the most important info
+    # is listed last. This is fine/best for command line output, but for keeping in a file it would be better
+    # to put the summary at the beginning of the file. Some bash magic can be done here to make that happen.
 
     reporters:
-        - findbugs
+      - findbugs
 
     publishers:
-        - maven-deploy:
-            id: ''
-            unique-version: true
-            deploy-unstable: false
-        - jacoco-report
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[int/dist]'
+      - maven-deploy:
+          id: ''
+          unique-version: true
+          deploy-unstable: false
+      - jacoco-report
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[int/dist]'
 
 # Template: distribution-deploy-{stream}
 # Goal: Verify distribution starts with no issues when all features are loaded
     concurrent: true
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts} **/*.hprof'
-        - integration-distribution-branch:
-            branch: '{branch}'
-        - integration-bundleurl:
-            bundleurl: '{bundleurl}'
-        - integration-jdk-version:
-            jdkversion: '{jre}'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts} **/*.hprof'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-bundleurl:
+          bundleurl: '{bundleurl}'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - timed: 'H H * * *'
+      - timed: 'H H * * *'
 
     builders:
-        - integration-get-bundle-vars
-        - inject:
-            properties-file: 'bundle_vars.txt'
-        - integration-deploy-controller-verify
+      - integration-get-bundle-vars
+      - inject:
+          properties-file: 'bundle_vars.txt'
+      - integration-deploy-controller-verify
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[int/dist]'
-        - integration-csit-archive-build
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[int/dist]'
+      - integration-csit-archive-build
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 # Template: distribution-offline-{stream}
 # Goal: Verify distribution can start with no internet connection
     node: centos7-java-builder-2c-8g
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts} **/*.hprof'
-        - integration-distribution-branch:
-            branch: '{branch}'
-        - integration-bundleurl:
-            bundleurl: '{bundleurl}'
-        - integration-jdk-version:
-            jdkversion: '{jre}'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts} **/*.hprof'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-bundleurl:
+          bundleurl: '{bundleurl}'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - timed: 'H H * * *'
+      - timed: 'H H * * *'
 
     builders:
-        - integration-get-bundle-vars
-        - inject:
-            properties-file: 'bundle_vars.txt'
-        - integration-deploy-controller-offline
+      - integration-get-bundle-vars
+      - inject:
+          properties-file: 'bundle_vars.txt'
+      - integration-deploy-controller-offline
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[int/dist]'
-        - integration-csit-archive-build
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[int/dist]'
+      - integration-csit-archive-build
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
index 309986336997e9c6463f40e61af2652b256f9502..a6dcd2efd0161a42916a466b16e3f6f1e396d033 100644 (file)
@@ -1,7 +1,8 @@
+---
 - project:
     name: distribution-csit-userfeatures
     jobs:
-        - '{project}-csit-1node-{functionality}-{install}-{stream}'
+      - '{project}-csit-1node-{functionality}-{install}-{stream}'
 
     # The project name
     project: 'distribution'
 
     # Project branches
     stream:
-        - carbon:
-            branch: 'master'
-            jre: 'openjdk8'
-        - boron:
-            branch: 'stable/boron'
-            jre: 'openjdk8'
-            install-features: 'odl-restconf,odl-distribution-version,odl-netconf-connector-all,odl-jolokia'
-            robot-options: '-v USE_NETCONF_CONNECTOR:True'
-        - beryllium:
-            branch: 'stable/beryllium'
-            jre: 'openjdk7'
-            install-features: 'odl-restconf,odl-distribution-version,odl-netconf-connector-all,odl-jolokia'
-            robot-options: '-v USE_NETCONF_CONNECTOR:True'
+      - carbon:
+          branch: 'master'
+          jre: 'openjdk8'
+      - boron:
+          branch: 'stable/boron'
+          jre: 'openjdk8'
+          install-features: 'odl-restconf,odl-distribution-version,odl-netconf-connector-all,odl-jolokia'
+          robot-options: '-v USE_NETCONF_CONNECTOR:True'
+      - beryllium:
+          branch: 'stable/beryllium'
+          jre: 'openjdk7'
+          install-features: 'odl-restconf,odl-distribution-version,odl-netconf-connector-all,odl-jolokia'
+          robot-options: '-v USE_NETCONF_CONNECTOR:True'
 
     # TODO: Add Beryllium when everything is backported there.
 
     install:
-        - only:
-            scope: 'only'
-        - all:
-            scope: 'all'
+      - only:
+          scope: 'only'
+      - all:
+          scope: 'all'
 
     # Features to install
     install-features: 'odl-restconf,odl-distribution-version,odl-netconf-topology,odl-jolokia'
index deed0abec2cf7cbaa1a75fbd3598aded1fab9abd..87112e490c4315fd96427b33ba2dd0c79fb82ae5 100644 (file)
@@ -1,28 +1,29 @@
+---
 # ODL Releng build templates
 - project:
     name: distribution
     jobs:
-        - '{project-name}-clm-{stream}'
-        - '{project-name}-sonar'
-        - '{project-name}-validate-autorelease-{stream}'
+      - '{project-name}-clm-{stream}'
+      - '{project-name}-sonar'
+      - '{project-name}-validate-autorelease-{stream}'
 
     stream:
-        - carbon:
-            branch: 'master'
-            jdk: openjdk8
-            jdks:
-                - openjdk8
-        - boron:
-            branch: 'stable/boron'
-            jdk: openjdk8
-            jdks:
-                - openjdk8
-        - beryllium:
-            branch: 'stable/beryllium'
-            jdk: openjdk8
-            jdks:
-                - openjdk8
-                - openjdk7
+      - carbon:
+          branch: 'master'
+          jdk: openjdk8
+          jdks:
+            - openjdk8
+      - boron:
+          branch: 'stable/boron'
+          jdk: openjdk8
+          jdks:
+            - openjdk8
+      - beryllium:
+          branch: 'stable/beryllium'
+          jdk: openjdk8
+          jdks:
+            - openjdk8
+            - openjdk7
 
     project: 'integration/distribution'
     project-name: 'distribution'
index 3171341aadaad81d441c41d4f0fff3c04a124cef..6319d5c1e5b6f72c7f9334375c3aaa6051784523 100644 (file)
@@ -1,93 +1,94 @@
+---
 # TODO: Make all bash constants more readable.
 # e.g.: DISTRIBUTION_BRANCH instead of DISTROBRANCH.
 
 - parameter:
     name: integration-distribution-branch
     parameters:
-        - string:
-            name: DISTROBRANCH
-            default: '{branch}'
-            description: 'Distribution GIT branch'
+      - string:
+          name: DISTROBRANCH
+          default: '{branch}'
+          description: 'Distribution GIT branch'
 
 - parameter:
     name: integration-bundleurl
     parameters:
-        - string:
-            name: BUNDLEURL
-            default: '{bundleurl}'
-            description: 'URL to karaf distribution zip'
+      - string:
+          name: BUNDLEURL
+          default: '{bundleurl}'
+          description: 'URL to karaf distribution zip'
 
 - parameter:
     name: integration-jdk-version
     parameters:
-        - string:
-            name: JDKVERSION
-            default: '{jdkversion}'
-            description: 'Parameter to indicate JAVA Version'
+      - string:
+          name: JDKVERSION
+          default: '{jdkversion}'
+          description: 'Parameter to indicate JAVA Version'
 
 - parameter:
     name: integration-controller-scope
     parameters:
-        - string:
-            name: CONTROLLERSCOPE
-            default: '{controller-scope}'
-            description: 'Feature Only or Feature All test'
+      - string:
+          name: CONTROLLERSCOPE
+          default: '{controller-scope}'
+          description: 'Feature Only or Feature All test'
 
 - parameter:
     name: integration-controller-features
     parameters:
-        - string:
-            name: CONTROLLERFEATURES
-            default: '{controller-features}'
-            description: 'Features to install in the controller separated by comma'
+      - string:
+          name: CONTROLLERFEATURES
+          default: '{controller-features}'
+          description: 'Features to install in the controller separated by comma'
 
 - parameter:
     name: integration-distribution-stream
     parameters:
-        - string:
-            name: DISTROSTREAM
-            default: '{stream}'
-            description: 'Distribution stream string, for suites to know which behavior to expect'
+      - string:
+          name: DISTROSTREAM
+          default: '{stream}'
+          description: 'Distribution stream string, for suites to know which behavior to expect'
 
 - parameter:
     name: integration-stream-test-plan
     parameters:
-        - string:
-            name: STREAMTESTPLAN
-            default: '{stream-test-plan}'
-            description: 'Stream-specific test plan we will run'
+      - string:
+          name: STREAMTESTPLAN
+          default: '{stream-test-plan}'
+          description: 'Stream-specific test plan we will run'
 
 - parameter:
     name: integration-test-plan
     parameters:
-        - string:
-            name: TESTPLAN
-            default: '{test-plan}'
-            description: 'General test plan we will run unless stream-specific one is found'
+      - string:
+          name: TESTPLAN
+          default: '{test-plan}'
+          description: 'General test plan we will run unless stream-specific one is found'
 
 - parameter:
     name: integration-test-options
     parameters:
-        - string:
-            name: TESTOPTIONS
-            default: '{test-options}'
-            description: 'Robot command options'
+      - string:
+          name: TESTOPTIONS
+          default: '{test-options}'
+          description: 'Robot command options'
 
 - parameter:
     name: integration-distribution-git-url
     parameters:
-        - string:
-            name: DISTROGITURL
-            default: '{git-url}/integration/distribution'
-            description: 'Distribution GIT URL (do not modify)'
+      - string:
+          name: DISTROGITURL
+          default: '{git-url}/integration/distribution'
+          description: 'Distribution GIT URL (do not modify)'
 
 - parameter:
     name: integration-patch-refspec
     parameters:
-        - string:
-            name: PATCHREFSPEC
-            default: '{branch}'
-            description: 'Integration Patch Refspec'
+      - string:
+          name: PATCHREFSPEC
+          default: '{branch}'
+          description: 'Integration Patch Refspec'
 
 # Macro: integration-gerrit-scm
 # Operation: this macro downloads a project gerrit
 - scm:
     name: integration-gerrit-scm
     scm:
-        - git:
-            credentials-id: 'opendaylight-jenkins-ssh'
-            url: '$GIT_BASE'
-            basedir: '{basedir}'
-            refspec: '{refspec}'
-            branches:
-                - 'origin/{branch}'
-            skip-tag: true
-            choosing-strategy: 'gerrit'
+      - git:
+          credentials-id: 'opendaylight-jenkins-ssh'
+          url: '$GIT_BASE'
+          basedir: '{basedir}'
+          refspec: '{refspec}'
+          branches:
+            - 'origin/{branch}'
+          skip-tag: true
+          choosing-strategy: 'gerrit'
 
 # Macro: integration-distribution-scm
 # Operation: this macro downloads the integration/distribution repo using distribution as basedir
 - scm:
     name: integration-distribution-scm
     scm:
-        - git:
-            credentials-id: 'opendaylight-jenkins-ssh'
-            basedir: 'distribution'
-            url: '$DISTROGITURL'
-            refspec: ''
-            branches:
-                - 'origin/{branch}'
-            skip-tag: true
+      - git:
+          credentials-id: 'opendaylight-jenkins-ssh'
+          basedir: 'distribution'
+          url: '$DISTROGITURL'
+          refspec: ''
+          branches:
+            - 'origin/{branch}'
+          skip-tag: true
 
 # Macro: integration-trigger-patch-submitted
 # This is a single macro to use for all csit jobs who vote on every (relevant) patch set.
 - trigger:
     name: integration-trigger-patch-submitted
     triggers:
-        - gerrit:
-            server-name: '{server}'
-            trigger-on:
-                - patchset-created-event:
-                    exclude-drafts: 'true'
-                    exclude-trivial-rebase: 'false'
-                    exclude-no-code-change: 'true'
-                - draft-published-event
-                - comment-added-contains-event:
-                    comment-contains-value: 'recheck'
-            override-votes: true
-            gerrit-build-unstable-verified-value: +1
-            gerrit-build-unstable-codereview-value: 0
-            projects:
-                - project-compare-type: 'ANT'
-                  project-pattern: '{project}'
-                  branches:
-                      - branch-compare-type: 'ANT'
-                        branch-pattern: '**/{branch}'
-                  file-paths:
-                      - compare-type: 'ANT'
-                        pattern: '{files}'
+      - gerrit:
+          server-name: '{server}'
+          trigger-on:
+            - patchset-created-event:
+                exclude-drafts: 'true'
+                exclude-trivial-rebase: 'false'
+                exclude-no-code-change: 'true'
+            - draft-published-event
+            - comment-added-contains-event:
+                comment-contains-value: 'recheck'
+          override-votes: true
+          gerrit-build-unstable-verified-value: +1
+          gerrit-build-unstable-codereview-value: 0
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: '{project}'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+              file-paths:
+                - compare-type: 'ANT'
+                  pattern: '{files}'
 
 # Macro: integration-openstack-controller-mininet
 # Operation: this macro will spin the controller and mininet vms
 - builder:
     name: integration-infra-stack
     builders:
-        - integration-cleanup-workspace
-        - shell: |
-            #!/bin/bash
-            # Setup openstack envirnoment file for use by
-            # the opendaylight-infra-stack macro
-            cat > $WORKSPACE/opendaylight-infra-environment.yaml << EOF
-            parameters:
-                vm_0_count: {vm_0_count}
-                vm_0_flavor: {vm_0_flavor}
-                vm_0_image: {vm_0_image}
-                vm_1_count: {vm_1_count}
-                vm_1_flavor: {vm_1_flavor}
-                vm_1_image: {vm_1_image}
-            EOF
-            echo "Contents of opendaylight-infra-environment.yaml ..."
-            cat $WORKSPACE/opendaylight-infra-environment.yaml
-        - opendaylight-infra-stack:
-            stack-template: '{stack-template}'
+      - integration-cleanup-workspace
+      - shell: |
+          #!/bin/bash
+          # Setup openstack envirnoment file for use by
+          # the opendaylight-infra-stack macro
+          cat > $WORKSPACE/opendaylight-infra-environment.yaml << EOF
+          parameters:
+              vm_0_count: {vm_0_count}
+              vm_0_flavor: {vm_0_flavor}
+              vm_0_image: {vm_0_image}
+              vm_1_count: {vm_1_count}
+              vm_1_flavor: {vm_1_flavor}
+              vm_1_image: {vm_1_image}
+          EOF
+          echo "Contents of opendaylight-infra-environment.yaml ..."
+          cat $WORKSPACE/opendaylight-infra-environment.yaml
+      - opendaylight-infra-stack:
+          stack-template: '{stack-template}'
 
 # Macro: integration-infra-stack-3-type
 # Operation: Sets environment and then calls opendaylight-infra-stack to spin
 - builder:
     name: integration-infra-stack-3-type
     builders:
-        - integration-cleanup-workspace
-        - shell: |
-            #!/bin/bash
-            # Setup openstack envirnoment file for use by
-            # the opendaylight-infra-stack macro
-            cat > $WORKSPACE/opendaylight-infra-environment.yaml << EOF
-            parameters:
-                vm_0_count: {vm_0_count}
-                vm_0_flavor: {vm_0_flavor}
-                vm_0_image: {vm_0_image}
-                vm_1_count: {vm_1_count}
-                vm_1_flavor: {vm_1_flavor}
-                vm_1_image: {vm_1_image}
-                vm_2_count: {vm_2_count}
-                vm_2_flavor: {vm_2_flavor}
-                vm_2_image: {vm_2_image}
-            EOF
-            echo "Contents of opendaylight-infra-environment.yaml ..."
-            cat $WORKSPACE/opendaylight-infra-environment.yaml
-        - opendaylight-infra-stack:
-            stack-template: 'csit-3-instance-type.yaml'
+      - integration-cleanup-workspace
+      - shell: |
+          #!/bin/bash
+          # Setup openstack envirnoment file for use by
+          # the opendaylight-infra-stack macro
+          cat > $WORKSPACE/opendaylight-infra-environment.yaml << EOF
+          parameters:
+              vm_0_count: {vm_0_count}
+              vm_0_flavor: {vm_0_flavor}
+              vm_0_image: {vm_0_image}
+              vm_1_count: {vm_1_count}
+              vm_1_flavor: {vm_1_flavor}
+              vm_1_image: {vm_1_image}
+              vm_2_count: {vm_2_count}
+              vm_2_flavor: {vm_2_flavor}
+              vm_2_image: {vm_2_image}
+          EOF
+          echo "Contents of opendaylight-infra-environment.yaml ..."
+          cat $WORKSPACE/opendaylight-infra-environment.yaml
+      - opendaylight-infra-stack:
+          stack-template: 'csit-3-instance-type.yaml'
 
 # Macro: integration-get-slave-addresses
 # Operation: this macro gets the IP addresses of the dynamic vms
 - builder:
     name: integration-get-slave-addresses
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-get-slave-addresses.sh
+      - shell: !include-raw: include-raw-integration-get-slave-addresses.sh
 
 # Macro: integration-get-bundle-vars
 # Operation: this macro gets all bundle related variables
 - builder:
     name: integration-get-bundle-vars
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-get-bundle-vars.sh
+      - shell: !include-raw: include-raw-integration-get-bundle-vars.sh
 
 # Macro: integration-distribution-check
 # Operation: this macro deploys the controller with all fetures
 - builder:
     name: integration-distribution-check
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-distribution-check.sh
+      - shell: !include-raw: include-raw-integration-distribution-check.sh
 
 # Macro: integration-deploy-controller-verify
 # Operation: this macro deploys the controller with all fetures
 - builder:
     name: integration-deploy-controller-verify
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-deploy-controller-verify.sh
+      - shell: !include-raw: include-raw-integration-deploy-controller-verify.sh
 
 # Macro: integration-deploy-controller-offline
 # Operation: this macro deploys the controller with no external repo configuration
 - builder:
     name: integration-deploy-controller-offline
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-deploy-controller-offline.sh
+      - shell: !include-raw: include-raw-integration-deploy-controller-offline.sh
 
 # Macro: integration-deply-controller-run-test
 # Operation: this macro deploys single contoller and runs test
 - builder:
     name: integration-deploy-controller-run-test
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-deploy-controller-run-test.sh
+      - shell: !include-raw: include-raw-integration-deploy-controller-run-test.sh
 
 # Macro: integration-configure-clustering
 # Operation: this macro configures the clustering
 - builder:
     name: integration-configure-clustering
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-configure-clustering.sh
+      - shell: !include-raw: include-raw-integration-configure-clustering.sh
 
 # Macro: integration-start-cluster-run-test
 # Operation: this macro starts the 3-node cluster and runs test
 - builder:
     name: integration-start-cluster-run-test
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-start-cluster-run-test.sh
+      - shell: !include-raw: include-raw-integration-start-cluster-run-test.sh
 
 # Macro: integration-get-bundle-url
 # Operation: this macro gets the job generated distribution URL from distribution pom.xml
 - builder:
     name: integration-get-bundle-url
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-get-bundle-url.sh
+      - shell: !include-raw: include-raw-integration-get-bundle-url.sh
 
 # Macro: integration-get-bundle-url-root
 # Operation: this macro gets the job generated distribution URL from root pom.xml
 - builder:
     name: integration-get-bundle-url-root
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-get-bundle-url-root.sh
+      - shell: !include-raw: include-raw-integration-get-bundle-url-root.sh
 
 # Macro: integration-install-robotframework
 # Operation: Installs robotframework using pip to a virtualenv
 - builder:
     name: integration-install-robotframework
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-install-robotframework.sh
+      - shell: !include-raw: include-raw-integration-install-robotframework.sh
 
 # Macro: integration-cleanup-tmp
 # Operation: Cleans up temporary files created by build
 - builder:
     name: integration-cleanup-tmp
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-cleanup-tmp.sh
+      - shell: !include-raw: include-raw-integration-cleanup-tmp.sh
 
 # Macro: integration-multipatch-builder
 # Operation: checks out multiple patches and builds custom distribution
 - builder:
     name: integration-multipatch-builder
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-multipatch-distribution-test.sh
+      - shell: !include-raw: include-raw-integration-multipatch-distribution-test.sh
 
 # Macro: integration-cleanup-workspace
 # Operation: Cleans up files possibly left there by the previous build
 - builder:
     name: integration-cleanup-workspace
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-cleanup-workspace.sh
+      - shell: !include-raw: include-raw-integration-cleanup-workspace.sh
 
 # Macro: integration-rebase-patch
 # Operation: For cloned project, rebase checked-out Gerrit patch onto $DISTROBRANCH.
 - builder:
     name: integration-rebase-gerrit-patch
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-rebase-gerrit-patch.sh
+      - shell: !include-raw: include-raw-integration-rebase-gerrit-patch.sh
 
 - builder:
     name: integration-deploy-openstack-run-test
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-deploy-openstack-run-test.sh
+      - shell: !include-raw: include-raw-integration-deploy-openstack-run-test.sh
 
 # Macro: integration-list-jobs
 # Operation: queries Jenkins jobs from jenkins.opendaylight.org and
 - builder:
     name: integration-list-jobs
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-list-jobs.sh
+      - shell: !include-raw: include-raw-integration-list-jobs.sh
 
 # Macro: integration-replace-block-text
 # Operation: using starting and ending regex to
 - builder:
     name: integration-replace-block-text
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-replace-block-text.sh
+      - shell: !include-raw: include-raw-integration-replace-block-text.sh
 
 # Macro: integration-compare-distributions
 # Operation: will compare an already created distribtion (probably last
 - builder:
     name: integration-compare-distributions
     builders:
-        - shell:
-            !include-raw:
-                - include-raw-integration-compare-distributions.sh
+      - shell: !include-raw: include-raw-integration-compare-distributions.sh
 
 ##############
 # Publishers #
 - publisher:
     name: integration-robot
     publishers:
-        - robot:
-            output-path: ''
-            other-files: ''
-            unstable-threshold: '{unstable-if}'
-            pass-threshold: '{pass-if}'
-            only-critical: false
+      - robot:
+          output-path: ''
+          other-files: ''
+          unstable-threshold: '{unstable-if}'
+          pass-threshold: '{pass-if}'
+          only-critical: false
 
 - publisher:
     name: integration-robot-tempest
     publishers:
-        - robot:
-            output-path: ''
-            other-files:
-                - tempest_results.html
-            unstable-threshold: '{unstable-if}'
-            pass-threshold: '{pass-if}'
-            only-critical: false
+      - robot:
+          output-path: ''
+          other-files:
+            - tempest_results.html
+          unstable-threshold: '{unstable-if}'
+          pass-threshold: '{pass-if}'
+          only-critical: false
 
 - publisher:
     name: integration-csit-archive-build
     publishers:
-        - postbuildscript:
-            builders:
-                - shell: |
-                    #!/bin/bash
-                    mkdir -p $WORKSPACE/archives
-                    curl --output robot-plugin.zip "$BUILD_URL/robot/report/*zip*/robot-plugin.zip"
-                    unzip -d $WORKSPACE/archives robot-plugin.zip
-                    mv *log* *.log *.log.gz *.csv *.png $WORKSPACE/archives || true  # Don't fail if file missing
-            script-only-if-succeeded: False
-            script-only-if-failed: False
-            mark-unstable-if-failed: True
+      - postbuildscript:
+          builders:
+            - shell: |
+                #!/bin/bash
+                mkdir -p $WORKSPACE/archives
+                curl --output robot-plugin.zip "$BUILD_URL/robot/report/*zip*/robot-plugin.zip"
+                unzip -d $WORKSPACE/archives robot-plugin.zip
+                mv *log* *.log *.log.gz *.csv *.png $WORKSPACE/archives || true  # Don't fail if file missing
+          script-only-if-succeeded: 'False'
+          script-only-if-failed: 'False'
+          mark-unstable-if-failed: 'True'
index 33a4f941181ae3d0f2aee846aa7c5fff2ed931c6..8fc01a7629112721b7ae843d85eadef3bf712f9b 100644 (file)
@@ -1,3 +1,4 @@
+---
 # Job templates in this file (please update with every new template):
 # FIXME: Update
 #
     node: centos7-robot-2c-2g
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: 'integration/test'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
-        - integration-distribution-branch:
-            branch: '{verify-branch}'
-        - integration-distribution-stream:
-            stream: '{verify-stream}'
-        - integration-bundleurl:
-            bundleurl: '{bundleurl}'
-        - integration-controller-scope:
-            controller-scope: 'only'
-        - integration-controller-features:
-            controller-features: '{install-features}'
-        - integration-test-options:
-            test-options: '{robot-options}'
-        - integration-stream-test-plan:
-            stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
-        - integration-test-plan:
-            test-plan: '{project}-{functionality}.txt'
-        - integration-jdk-version:
-            jdkversion: '{verify-jdkversion}'
+      - opendaylight-infra-parameters:
+          project: 'integration/test'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-branch:
+          branch: '{verify-branch}'
+      - integration-distribution-stream:
+          stream: '{verify-stream}'
+      - integration-bundleurl:
+          bundleurl: '{bundleurl}'
+      - integration-controller-scope:
+          controller-scope: 'only'
+      - integration-controller-features:
+          controller-features: '{install-features}'
+      - integration-test-options:
+          test-options: '{robot-options}'
+      - integration-stream-test-plan:
+          stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
+      - integration-test-plan:
+          test-plan: '{project}-{functionality}.txt'
+      - integration-jdk-version:
+          jdkversion: '{verify-jdkversion}'
 
     scm:
-        - integration-gerrit-scm:
-            basedir: 'test'
-            refspec: '$GERRIT_REFSPEC'
-            branch: 'master'
+      - integration-gerrit-scm:
+          basedir: 'test'
+          refspec: '$GERRIT_REFSPEC'
+          branch: 'master'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - integration-trigger-patch-submitted:
-            server: '{server-name}'
-            project: 'integration/test'
-            branch: 'master'
-            files: 'csit/suites/{project}/**'
+      - integration-trigger-patch-submitted:
+          server: '{server-name}'
+          project: 'integration/test'
+          branch: 'master'
+          files: 'csit/suites/{project}/**'
 
     builders:
-        - integration-infra-stack:
-            stack-template: '{stack-template}'
-            vm_0_count: '1'
-            vm_0_flavor: '{odl_system_flavor}'
-            vm_0_image: '{odl_system_image}'
-            vm_1_count: '{tools_system_count}'
-            vm_1_flavor: '{tools_system_flavor}'
-            vm_1_image: '{tools_system_image}'
-        - integration-install-robotframework
-        - inject:
-            properties-file: 'env.properties'
-        - integration-get-slave-addresses
-        - inject:
-            properties-file: 'slave_addresses.txt'
-        - integration-get-bundle-vars
-        - inject:
-            properties-file: 'bundle_vars.txt'
-        - integration-deploy-controller-run-test
-        - integration-cleanup-tmp
+      - integration-infra-stack:
+          stack-template: '{stack-template}'
+          vm_0_count: '1'
+          vm_0_flavor: '{odl_system_flavor}'
+          vm_0_image: '{odl_system_image}'
+          vm_1_count: '{tools_system_count}'
+          vm_1_flavor: '{tools_system_flavor}'
+          vm_1_image: '{tools_system_image}'
+      - integration-install-robotframework
+      - inject:
+          properties-file: 'env.properties'
+      - integration-get-slave-addresses
+      - inject:
+          properties-file: 'slave_addresses.txt'
+      - integration-get-bundle-vars
+      - inject:
+          properties-file: 'bundle_vars.txt'
+      - integration-deploy-controller-run-test
+      - integration-cleanup-tmp
 
     publishers:
-        - integration-robot:
-            unstable-if: 0.0
-            pass-if: 100.0
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project}]'
-        - integration-csit-archive-build
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - integration-robot:
+          unstable-if: 0.0
+          pass-if: 100.0
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project}]'
+      - integration-csit-archive-build
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 - job-template:
     name: '{project}-csit-1node-{functionality}-{install}-{stream}'
     node: centos7-robot-2c-2g
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: 'integration/test'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
-        - integration-distribution-branch:
-            branch: '{branch}'
-        - integration-distribution-stream:
-            stream: '{stream}'
-        - integration-bundleurl:
-            bundleurl: '{bundleurl}'
-        - integration-controller-scope:
-            controller-scope: '{scope}'
-        - integration-controller-features:
-            controller-features: '{install-features}'
-        - integration-test-options:
-            test-options: '{robot-options}'
-        - integration-stream-test-plan:
-            stream-test-plan: '{project}-{functionality}-{stream}.txt'
-        - integration-test-plan:
-            test-plan: '{project}-{functionality}.txt'
-        - integration-patch-refspec:
-            branch: 'master'
-        - integration-jdk-version:
-            jdkversion: '{jre}'
+      - opendaylight-infra-parameters:
+          project: 'integration/test'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-distribution-stream:
+          stream: '{stream}'
+      - integration-bundleurl:
+          bundleurl: '{bundleurl}'
+      - integration-controller-scope:
+          controller-scope: '{scope}'
+      - integration-controller-features:
+          controller-features: '{install-features}'
+      - integration-test-options:
+          test-options: '{robot-options}'
+      - integration-stream-test-plan:
+          stream-test-plan: '{project}-{functionality}-{stream}.txt'
+      - integration-test-plan:
+          test-plan: '{project}-{functionality}.txt'
+      - integration-patch-refspec:
+          branch: 'master'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
 
     scm:
-        - integration-gerrit-scm:
-            basedir: 'test'
-            refspec: '$PATCHREFSPEC'
-            branch: 'master'
+      - integration-gerrit-scm:
+          basedir: 'test'
+          refspec: '$PATCHREFSPEC'
+          branch: 'master'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     builders:
-        - integration-infra-stack:
-            stack-template: '{stack-template}'
-            vm_0_count: '1'
-            vm_0_flavor: '{odl_system_flavor}'
-            vm_0_image: '{odl_system_image}'
-            vm_1_count: '{tools_system_count}'
-            vm_1_flavor: '{tools_system_flavor}'
-            vm_1_image: '{tools_system_image}'
-        - integration-install-robotframework
-        - inject:
-            properties-file: 'env.properties'
-        - integration-get-slave-addresses
-        - inject:
-            properties-file: 'slave_addresses.txt'
-        - integration-get-bundle-vars
-        - inject:
-            properties-file: 'bundle_vars.txt'
-        - integration-deploy-controller-run-test
-        - integration-cleanup-tmp
+      - integration-infra-stack:
+          stack-template: '{stack-template}'
+          vm_0_count: '1'
+          vm_0_flavor: '{odl_system_flavor}'
+          vm_0_image: '{odl_system_image}'
+          vm_1_count: '{tools_system_count}'
+          vm_1_flavor: '{tools_system_flavor}'
+          vm_1_image: '{tools_system_image}'
+      - integration-install-robotframework
+      - inject:
+          properties-file: 'env.properties'
+      - integration-get-slave-addresses
+      - inject:
+          properties-file: 'slave_addresses.txt'
+      - integration-get-bundle-vars
+      - inject:
+          properties-file: 'bundle_vars.txt'
+      - integration-deploy-controller-run-test
+      - integration-cleanup-tmp
 
     publishers:
-        - integration-robot:
-            unstable-if: 0.0
-            pass-if: 100.0
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project}]'
-        - plot:
+      - integration-robot:
+          unstable-if: 0.0
+          pass-if: 100.0
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project}]'
+      - plot:
           - title: '{01-plot-title}'
             yaxis: '{01-plot-yaxis}'
             group: '{01-plot-group}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
             series:
               - file: '{01-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
             series:
               - file: '{02-plot-data-file}'
                 inclusion-flag: 'off'
                 display-table: true
                 format: csv
-        - integration-csit-archive-build
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - integration-csit-archive-build
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 - job-template:
     name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
     node: centos7-robot-2c-2g
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: 'integration/test'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
-        - integration-distribution-branch:
-            branch: '{branch}'
-        - integration-distribution-stream:
-            stream: '{stream}'
-        - integration-bundleurl:
-            bundleurl: '{bundleurl}'
-        - integration-controller-scope:
-            controller-scope: '{scope}'
-        - integration-controller-features:
-            controller-features: '{install-features}'
-        - integration-test-options:
-            test-options: '{robot-options}'
-        - integration-stream-test-plan:
-            stream-test-plan: '{project}-{functionality}-{stream}.txt'
-        - integration-test-plan:
-            test-plan: '{project}-{functionality}.txt'
-        - integration-patch-refspec:
-            branch: 'master'
-        - integration-jdk-version:
-            jdkversion: '{jre}'
+      - opendaylight-infra-parameters:
+          project: 'integration/test'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-distribution-stream:
+          stream: '{stream}'
+      - integration-bundleurl:
+          bundleurl: '{bundleurl}'
+      - integration-controller-scope:
+          controller-scope: '{scope}'
+      - integration-controller-features:
+          controller-features: '{install-features}'
+      - integration-test-options:
+          test-options: '{robot-options}'
+      - integration-stream-test-plan:
+          stream-test-plan: '{project}-{functionality}-{stream}.txt'
+      - integration-test-plan:
+          test-plan: '{project}-{functionality}.txt'
+      - integration-patch-refspec:
+          branch: 'master'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
 
     scm:
-        - integration-gerrit-scm:
-            basedir: 'test'
-            refspec: '$PATCHREFSPEC'
-            branch: 'master'
+      - integration-gerrit-scm:
+          basedir: 'test'
+          refspec: '$PATCHREFSPEC'
+          branch: 'master'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     builders:
-        - integration-infra-stack:
-            stack-template: '{stack-template}'
-            vm_0_count: '1'
-            vm_0_flavor: '{odl_system_flavor}'
-            vm_0_image: '{odl_system_image}'
-            vm_1_count: '{tools_system_count}'
-            vm_1_flavor: '{tools_system_flavor}'
-            vm_1_image: '{tools_system_image}'
-        - integration-install-robotframework
-        - inject:
-            properties-file: 'env.properties'
-        - integration-get-slave-addresses
-        - inject:
-            properties-file: 'slave_addresses.txt'
-        - integration-get-bundle-vars
-        - inject:
-            properties-file: 'bundle_vars.txt'
-        - integration-deploy-controller-run-test
-        - integration-cleanup-tmp
+      - integration-infra-stack:
+          stack-template: '{stack-template}'
+          vm_0_count: '1'
+          vm_0_flavor: '{odl_system_flavor}'
+          vm_0_image: '{odl_system_image}'
+          vm_1_count: '{tools_system_count}'
+          vm_1_flavor: '{tools_system_flavor}'
+          vm_1_image: '{tools_system_image}'
+      - integration-install-robotframework
+      - inject:
+          properties-file: 'env.properties'
+      - integration-get-slave-addresses
+      - inject:
+          properties-file: 'slave_addresses.txt'
+      - integration-get-bundle-vars
+      - inject:
+          properties-file: 'bundle_vars.txt'
+      - integration-deploy-controller-run-test
+      - integration-cleanup-tmp
 
     publishers:
-        - integration-robot:
-            unstable-if: 0.0
-            pass-if: 100.0
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project}]'
-        - plot:
+      - integration-robot:
+          unstable-if: 0.0
+          pass-if: 100.0
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project}]'
+      - plot:
           - title: '{01-plot-title}'
             yaxis: '{01-plot-yaxis}'
             group: '{01-plot-group}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
             series:
               - file: '{01-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
             series:
               - file: '{02-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
             series:
               - file: '{03-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
             series:
               - file: '{04-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
             series:
               - file: '{05-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
             series:
               - file: '{06-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
             series:
               - file: '{07-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
             series:
               - file: '{08-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
             series:
               - file: '{09-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
             series:
               - file: '{10-plot-data-file}'
                 inclusion-flag: '{10-inclusion-flag}'
                 exclude: '{10-exclude-value}'
                 format: csv
-        - integration-csit-archive-build
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - integration-csit-archive-build
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 - job-template:
     name: '{project}-csit-verify-3node-{functionality}'
     node: centos7-robot-2c-2g
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: 'integration/test'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
-        - integration-distribution-branch:
-            branch: '{verify-branch}'
-        - integration-distribution-stream:
-            stream: '{verify-stream}'
-        - integration-bundleurl:
-            bundleurl: '{bundleurl}'
-        - integration-controller-scope:
-            controller-scope: 'only'
-        - integration-controller-features:
-            controller-features: 'odl-jolokia,{install-features}'
-        - integration-test-options:
-            test-options: '{robot-options}'
-        - integration-stream-test-plan:
-            stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
-        - integration-test-plan:
-            test-plan: '{project}-{functionality}.txt'
-        - integration-jdk-version:
-            jdkversion: '{verify-jdkversion}'
+      - opendaylight-infra-parameters:
+          project: 'integration/test'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-branch:
+          branch: '{verify-branch}'
+      - integration-distribution-stream:
+          stream: '{verify-stream}'
+      - integration-bundleurl:
+          bundleurl: '{bundleurl}'
+      - integration-controller-scope:
+          controller-scope: 'only'
+      - integration-controller-features:
+          controller-features: 'odl-jolokia,{install-features}'
+      - integration-test-options:
+          test-options: '{robot-options}'
+      - integration-stream-test-plan:
+          stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
+      - integration-test-plan:
+          test-plan: '{project}-{functionality}.txt'
+      - integration-jdk-version:
+          jdkversion: '{verify-jdkversion}'
 
     scm:
-        - integration-gerrit-scm:
-            basedir: 'test'
-            refspec: '$GERRIT_REFSPEC'
-            branch: 'master'
+      - integration-gerrit-scm:
+          basedir: 'test'
+          refspec: '$GERRIT_REFSPEC'
+          branch: 'master'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - integration-trigger-patch-submitted:
-            server: '{server-name}'
-            project: 'integration/test'
-            branch: 'master'
-            files: 'csit/suites/{project}/**'
+      - integration-trigger-patch-submitted:
+          server: '{server-name}'
+          project: 'integration/test'
+          branch: 'master'
+          files: 'csit/suites/{project}/**'
 
     builders:
-        - integration-infra-stack:
-            stack-template: '{stack-template}'
-            vm_0_count: '3'
-            vm_0_flavor: '{odl_system_flavor}'
-            vm_0_image: '{odl_system_image}'
-            vm_1_count: '{tools_system_count}'
-            vm_1_flavor: '{tools_system_flavor}'
-            vm_1_image: '{tools_system_image}'
-        - integration-install-robotframework
-        - inject:
-            properties-file: 'env.properties'
-        - integration-get-slave-addresses
-        - inject:
-            properties-file: 'slave_addresses.txt'
-        - integration-get-bundle-vars
-        - inject:
-            properties-file: 'bundle_vars.txt'
-        - integration-configure-clustering
-        - integration-start-cluster-run-test
-        - integration-cleanup-tmp
+      - integration-infra-stack:
+          stack-template: '{stack-template}'
+          vm_0_count: '3'
+          vm_0_flavor: '{odl_system_flavor}'
+          vm_0_image: '{odl_system_image}'
+          vm_1_count: '{tools_system_count}'
+          vm_1_flavor: '{tools_system_flavor}'
+          vm_1_image: '{tools_system_image}'
+      - integration-install-robotframework
+      - inject:
+          properties-file: 'env.properties'
+      - integration-get-slave-addresses
+      - inject:
+          properties-file: 'slave_addresses.txt'
+      - integration-get-bundle-vars
+      - inject:
+          properties-file: 'bundle_vars.txt'
+      - integration-configure-clustering
+      - integration-start-cluster-run-test
+      - integration-cleanup-tmp
 
     publishers:
-        - integration-robot:
-            unstable-if: 0.0
-            pass-if: 100.0
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project}]'
-        - integration-csit-archive-build
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - integration-robot:
+          unstable-if: 0.0
+          pass-if: 100.0
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project}]'
+      - integration-csit-archive-build
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 - job-template:
     name: '{project}-csit-3node-{functionality}-{install}-{stream}'
     node: centos7-robot-2c-2g
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: 'integration/test'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
-        - integration-distribution-branch:
-            branch: '{branch}'
-        - integration-distribution-stream:
-            stream: '{stream}'
-        - integration-bundleurl:
-            bundleurl: '{bundleurl}'
-        - integration-controller-scope:
-            controller-scope: '{scope}'
-        - integration-controller-features:
-            controller-features: 'odl-jolokia,{install-features}'
-        - integration-test-options:
-            test-options: '{robot-options}'
-        - integration-stream-test-plan:
-            stream-test-plan: '{project}-{functionality}-{stream}.txt'
-        - integration-test-plan:
-            test-plan: '{project}-{functionality}.txt'
-        - integration-patch-refspec:
-            branch: 'master'
-        - integration-jdk-version:
-            jdkversion: '{jre}'
+      - opendaylight-infra-parameters:
+          project: 'integration/test'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-distribution-stream:
+          stream: '{stream}'
+      - integration-bundleurl:
+          bundleurl: '{bundleurl}'
+      - integration-controller-scope:
+          controller-scope: '{scope}'
+      - integration-controller-features:
+          controller-features: 'odl-jolokia,{install-features}'
+      - integration-test-options:
+          test-options: '{robot-options}'
+      - integration-stream-test-plan:
+          stream-test-plan: '{project}-{functionality}-{stream}.txt'
+      - integration-test-plan:
+          test-plan: '{project}-{functionality}.txt'
+      - integration-patch-refspec:
+          branch: 'master'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
 
     scm:
-        - integration-gerrit-scm:
-            basedir: 'test'
-            refspec: '$PATCHREFSPEC'
-            branch: 'master'
+      - integration-gerrit-scm:
+          basedir: 'test'
+          refspec: '$PATCHREFSPEC'
+          branch: 'master'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     builders:
-        - integration-infra-stack:
-            stack-template: '{stack-template}'
-            vm_0_count: '3'
-            vm_0_flavor: '{odl_system_flavor}'
-            vm_0_image: '{odl_system_image}'
-            vm_1_count: '{tools_system_count}'
-            vm_1_flavor: '{tools_system_flavor}'
-            vm_1_image: '{tools_system_image}'
-        - integration-install-robotframework
-        - inject:
-            properties-file: 'env.properties'
-        - integration-get-slave-addresses
-        - inject:
-            properties-file: 'slave_addresses.txt'
-        - integration-get-bundle-vars
-        - inject:
-            properties-file: 'bundle_vars.txt'
-        - integration-configure-clustering
-        - integration-start-cluster-run-test
-        - integration-cleanup-tmp
+      - integration-infra-stack:
+          stack-template: '{stack-template}'
+          vm_0_count: '3'
+          vm_0_flavor: '{odl_system_flavor}'
+          vm_0_image: '{odl_system_image}'
+          vm_1_count: '{tools_system_count}'
+          vm_1_flavor: '{tools_system_flavor}'
+          vm_1_image: '{tools_system_image}'
+      - integration-install-robotframework
+      - inject:
+          properties-file: 'env.properties'
+      - integration-get-slave-addresses
+      - inject:
+          properties-file: 'slave_addresses.txt'
+      - integration-get-bundle-vars
+      - inject:
+          properties-file: 'bundle_vars.txt'
+      - integration-configure-clustering
+      - integration-start-cluster-run-test
+      - integration-cleanup-tmp
 
     publishers:
-        - integration-robot:
-            unstable-if: 0.0
-            pass-if: 100.0
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project}]'
-        - plot:
+      - integration-robot:
+          unstable-if: 0.0
+          pass-if: 100.0
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project}]'
+      - plot:
           - title: '{01-plot-title}'
             yaxis: '{01-plot-yaxis}'
             group: '{01-plot-group}'
                 inclusion-flag: 'off'
                 display-table: true
                 format: csv
-        - integration-csit-archive-build
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - integration-csit-archive-build
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 - job-template:
     name: '{project}-csit-3node-docker-{functionality}-{install}-{stream}'
     node: centos7-robot-2c-2g
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: 'integration/test'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
-        - integration-distribution-branch:
-            branch: '{branch}'
-        - integration-distribution-stream:
-            stream: '{stream}'
-        - integration-bundleurl:
-            bundleurl: '{bundleurl}'
-        - integration-controller-scope:
-            controller-scope: '{scope}'
-        - integration-controller-features:
-            controller-features: 'odl-jolokia,{install-features}'
-        - integration-test-options:
-            test-options: '{robot-options}'
-        - integration-stream-test-plan:
-            stream-test-plan: '{project}-{functionality}-{stream}.txt'
-        - integration-test-plan:
-            test-plan: '{project}-{functionality}.txt'
-        - integration-patch-refspec:
-            branch: 'master'
-        - integration-jdk-version:
-            jdkversion: '{jre}'
+      - opendaylight-infra-parameters:
+          project: 'integration/test'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-distribution-stream:
+          stream: '{stream}'
+      - integration-bundleurl:
+          bundleurl: '{bundleurl}'
+      - integration-controller-scope:
+          controller-scope: '{scope}'
+      - integration-controller-features:
+          controller-features: 'odl-jolokia,{install-features}'
+      - integration-test-options:
+          test-options: '{robot-options}'
+      - integration-stream-test-plan:
+          stream-test-plan: '{project}-{functionality}-{stream}.txt'
+      - integration-test-plan:
+          test-plan: '{project}-{functionality}.txt'
+      - integration-patch-refspec:
+          branch: 'master'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
 
     scm:
-        - integration-gerrit-scm:
-            basedir: 'test'
-            refspec: '$PATCHREFSPEC'
-            branch: 'master'
+      - integration-gerrit-scm:
+          basedir: 'test'
+          refspec: '$PATCHREFSPEC'
+          branch: 'master'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     builders:
-        - integration-infra-stack:
-            stack-template: '{stack-template}'
-            vm_0_count: '3'
-            vm_0_flavor: '{odl_system_flavor}'
-            vm_0_image: '{odl_system_image}'
-            vm_1_count: '{docker_system_count}'
-            vm_1_flavor: '{docker_system_flavor}'
-            vm_1_image: '{docker_system_image}'
-        - integration-install-robotframework
-        - inject:
-            properties-file: 'env.properties'
-        - integration-get-slave-addresses
-        - inject:
-            properties-file: 'slave_addresses.txt'
-        - integration-get-bundle-vars
-        - inject:
-            properties-file: 'bundle_vars.txt'
-        - integration-configure-clustering
-        - integration-start-cluster-run-test
-        - integration-cleanup-tmp
+      - integration-infra-stack:
+          stack-template: '{stack-template}'
+          vm_0_count: '3'
+          vm_0_flavor: '{odl_system_flavor}'
+          vm_0_image: '{odl_system_image}'
+          vm_1_count: '{docker_system_count}'
+          vm_1_flavor: '{docker_system_flavor}'
+          vm_1_image: '{docker_system_image}'
+      - integration-install-robotframework
+      - inject:
+          properties-file: 'env.properties'
+      - integration-get-slave-addresses
+      - inject:
+          properties-file: 'slave_addresses.txt'
+      - integration-get-bundle-vars
+      - inject:
+          properties-file: 'bundle_vars.txt'
+      - integration-configure-clustering
+      - integration-start-cluster-run-test
+      - integration-cleanup-tmp
 
     publishers:
-        - integration-robot:
-            unstable-if: 0.0
-            pass-if: 100.0
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project}]'
-        - plot:
+      - integration-robot:
+          unstable-if: 0.0
+          pass-if: 100.0
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project}]'
+      - plot:
           - title: '{01-plot-title}'
             yaxis: '{01-plot-yaxis}'
             group: '{01-plot-group}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
             series:
               - file: '{01-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
             series:
               - file: '{02-plot-data-file}'
                 inclusion-flag: 'off'
                 display-table: true
                 format: csv
-        - integration-csit-archive-build
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - integration-csit-archive-build
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 - job-template:
     name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}'
     node: centos7-robot-2c-2g
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: 'integration/test'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
-        - integration-distribution-branch:
-            branch: '{branch}'
-        - integration-distribution-stream:
-            stream: '{stream}'
-        - integration-bundleurl:
-            bundleurl: '{bundleurl}'
-        - integration-controller-scope:
-            controller-scope: '{scope}'
-        - integration-controller-features:
-            controller-features: 'odl-jolokia,{install-features}'
-        - integration-test-options:
-            test-options: '{robot-options}'
-        - integration-stream-test-plan:
-            stream-test-plan: '{project}-{functionality}-{stream}.txt'
-        - integration-test-plan:
-            test-plan: '{project}-{functionality}.txt'
-        - integration-patch-refspec:
-            branch: 'master'
-        - integration-jdk-version:
-            jdkversion: '{jre}'
+      - opendaylight-infra-parameters:
+          project: 'integration/test'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-distribution-stream:
+          stream: '{stream}'
+      - integration-bundleurl:
+          bundleurl: '{bundleurl}'
+      - integration-controller-scope:
+          controller-scope: '{scope}'
+      - integration-controller-features:
+          controller-features: 'odl-jolokia,{install-features}'
+      - integration-test-options:
+          test-options: '{robot-options}'
+      - integration-stream-test-plan:
+          stream-test-plan: '{project}-{functionality}-{stream}.txt'
+      - integration-test-plan:
+          test-plan: '{project}-{functionality}.txt'
+      - integration-patch-refspec:
+          branch: 'master'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
 
     scm:
-        - integration-gerrit-scm:
-            basedir: 'test'
-            refspec: '$PATCHREFSPEC'
-            branch: 'master'
+      - integration-gerrit-scm:
+          basedir: 'test'
+          refspec: '$PATCHREFSPEC'
+          branch: 'master'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     builders:
-        - integration-infra-stack:
-            stack-template: '{stack-template}'
-            vm_0_count: '3'
-            vm_0_flavor: '{odl_system_flavor}'
-            vm_0_image: '{odl_system_image}'
-            vm_1_count: '{tools_system_count}'
-            vm_1_flavor: '{tools_system_flavor}'
-            vm_1_image: '{tools_system_image}'
-        - integration-install-robotframework
-        - inject:
-            properties-file: 'env.properties'
-        - integration-get-slave-addresses
-        - inject:
-            properties-file: 'slave_addresses.txt'
-        - integration-get-bundle-vars
-        - inject:
-            properties-file: 'bundle_vars.txt'
-        - integration-configure-clustering
-        - integration-start-cluster-run-test
-        - integration-cleanup-tmp
+      - integration-infra-stack:
+          stack-template: '{stack-template}'
+          vm_0_count: '3'
+          vm_0_flavor: '{odl_system_flavor}'
+          vm_0_image: '{odl_system_image}'
+          vm_1_count: '{tools_system_count}'
+          vm_1_flavor: '{tools_system_flavor}'
+          vm_1_image: '{tools_system_image}'
+      - integration-install-robotframework
+      - inject:
+          properties-file: 'env.properties'
+      - integration-get-slave-addresses
+      - inject:
+          properties-file: 'slave_addresses.txt'
+      - integration-get-bundle-vars
+      - inject:
+          properties-file: 'bundle_vars.txt'
+      - integration-configure-clustering
+      - integration-start-cluster-run-test
+      - integration-cleanup-tmp
 
     publishers:
-        - integration-robot:
-            unstable-if: 0.0
-            pass-if: 100.0
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project}]'
-        - plot:
+      - integration-robot:
+          unstable-if: 0.0
+          pass-if: 100.0
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project}]'
+      - plot:
           - title: '{01-plot-title}'
             yaxis: '{01-plot-yaxis}'
             group: '{01-plot-group}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
             series:
               - file: '{01-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
             series:
               - file: '{02-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
             series:
               - file: '{03-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
             series:
               - file: '{04-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
             series:
               - file: '{05-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
             series:
               - file: '{06-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
             series:
               - file: '{07-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
             series:
               - file: '{08-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
             series:
               - file: '{09-plot-data-file}'
             keep-records: true
             style: line
             use-description: false
+            # yamllint disable-line rule:line-length
             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
             series:
               - file: '{10-plot-data-file}'
                 inclusion-flag: '{10-inclusion-flag}'
                 exclude: '{10-exclude-value}'
                 format: csv
-        - integration-csit-archive-build
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - integration-csit-archive-build
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 - job-template:
     name: '{project}-csit-hwvtep-{topology}-openstack-{openstack}-{functionality}-{stream}'
     concurrent: true
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: 'integration/test'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
-        - integration-distribution-branch:
-            branch: '{branch}'
-        - integration-distribution-stream:
-            stream: '{stream}'
-        - integration-bundleurl:
-            bundleurl: '{bundleurl}'
-        - integration-controller-features:
-            controller-features: '{install-features}'
-        - integration-test-options:
-            test-options: '{robot-options}'
-        - integration-test-plan:
-            test-plan: '{testplan}'
-        - integration-patch-refspec:
-            branch: 'master'
-        - integration-jdk-version:
-            jdkversion: '{jre}'
-        - string:
-            name: OPENSTACK_BRANCH
-            default: '{openstack-branch}'
-            description: 'Openstack version to use with devstack'
-        - string:
-            name: ODL_ML2_DRIVER_REPO
-            default: '{odl-ml2-driver-repo}'
-            description: 'URL to fetch networking-odl driver'
-        - string:
-            name: ODL_ML2_BRANCH
-            default: '{odl-ml2-branch}'
-            description: 'Version of networking-odl to checkout from the repo'
-        - string:
-            name: ODL_ML2_DRIVER_VERSION
-            default: '{odl-ml2-driver-version}'
-            description: 'Mode of networking-odl (v1 or v2)'
-        - string:
-            name: ODL_ENABLE_L3_FWD
-            default: '{odl-enable-l3}'
-            description: 'Enable L3 FWD in ODL for createing br-ex'
-        - string:
-            name: PUBLIC_BRIDGE
-            default: '{public-bridge}'
-            description: 'Specifies public bridge for provider and external networking'
-        - string:
-            name: ENABLE_HAPROXY_FOR_NEUTRON
-            default: '{enable-haproxy}'
-            description: 'Enable HAProxy for using neutron interface as HA'
-        - string:
-            name: ENABLE_OS_SERVICES
-            default: '{enable-openstack-services}'
-            description: 'comma seperated list of services to enable'
-        - string:
-            name: DISABLE_OS_SERVICES
-            default: '{disable-openstack-services}'
-            description: 'comma seperated list of services to enable'
-        - string:
-            name: TENANT_NETWORK_TYPE
-            default: '{tenant-network-type}'
-            description: 'Tenant Network Type supported by the implementation'
-        - string:
-            name: SECURITY_GROUP_MODE
-            default: '{security-group-mode}'
-            description: 'Security Group Mode to be used in netvirt aclservice config'
-        - string:
-            name: PUBLIC_PHYSICAL_NETWORK
-            default: '{public-physical-network}'
-            description: 'provider physical network used for flat/vlan networks'
-        - string:
-            name: ENABLE_NETWORKING_L2GW
-            default: '{enable-networking-l2gw}'
-            description: 'Enable networking L2gw'
-        - string:
-            name: NETWORKING_L2GW_DRIVER
-            default: '{networking-l2gw-repo}'
-            description: 'URL to fetch networking-l2gw driver'
-        - string:
-            name: DISABLE_ODL_L3_PLUGIN
-            default: '{disable-odl-l3-service-plugin}'
-            description: 'Disable odl l3 service plugin'
+      - opendaylight-infra-parameters:
+          project: 'integration/test'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-distribution-stream:
+          stream: '{stream}'
+      - integration-bundleurl:
+          bundleurl: '{bundleurl}'
+      - integration-controller-features:
+          controller-features: '{install-features}'
+      - integration-test-options:
+          test-options: '{robot-options}'
+      - integration-test-plan:
+          test-plan: '{testplan}'
+      - integration-patch-refspec:
+          branch: 'master'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
+      - string:
+          name: OPENSTACK_BRANCH
+          default: '{openstack-branch}'
+          description: 'Openstack version to use with devstack'
+      - string:
+          name: ODL_ML2_DRIVER_REPO
+          default: '{odl-ml2-driver-repo}'
+          description: 'URL to fetch networking-odl driver'
+      - string:
+          name: ODL_ML2_BRANCH
+          default: '{odl-ml2-branch}'
+          description: 'Version of networking-odl to checkout from the repo'
+      - string:
+          name: ODL_ML2_DRIVER_VERSION
+          default: '{odl-ml2-driver-version}'
+          description: 'Mode of networking-odl (v1 or v2)'
+      - string:
+          name: ODL_ENABLE_L3_FWD
+          default: '{odl-enable-l3}'
+          description: 'Enable L3 FWD in ODL for createing br-ex'
+      - string:
+          name: PUBLIC_BRIDGE
+          default: '{public-bridge}'
+          description: 'Specifies public bridge for provider and external networking'
+      - string:
+          name: ENABLE_HAPROXY_FOR_NEUTRON
+          default: '{enable-haproxy}'
+          description: 'Enable HAProxy for using neutron interface as HA'
+      - string:
+          name: ENABLE_OS_SERVICES
+          default: '{enable-openstack-services}'
+          description: 'comma seperated list of services to enable'
+      - string:
+          name: DISABLE_OS_SERVICES
+          default: '{disable-openstack-services}'
+          description: 'comma seperated list of services to enable'
+      - string:
+          name: TENANT_NETWORK_TYPE
+          default: '{tenant-network-type}'
+          description: 'Tenant Network Type supported by the implementation'
+      - string:
+          name: SECURITY_GROUP_MODE
+          default: '{security-group-mode}'
+          description: 'Security Group Mode to be used in netvirt aclservice config'
+      - string:
+          name: PUBLIC_PHYSICAL_NETWORK
+          default: '{public-physical-network}'
+          description: 'provider physical network used for flat/vlan networks'
+      - string:
+          name: ENABLE_NETWORKING_L2GW
+          default: '{enable-networking-l2gw}'
+          description: 'Enable networking L2gw'
+      - string:
+          name: NETWORKING_L2GW_DRIVER
+          default: '{networking-l2gw-repo}'
+          description: 'URL to fetch networking-l2gw driver'
+      - string:
+          name: DISABLE_ODL_L3_PLUGIN
+          default: '{disable-odl-l3-service-plugin}'
+          description: 'Disable odl l3 service plugin'
     scm:
-        - integration-gerrit-scm:
-            basedir: 'test'
-            refspec: '$PATCHREFSPEC'
-            branch: 'master'
+      - integration-gerrit-scm:
+          basedir: 'test'
+          refspec: '$PATCHREFSPEC'
+          branch: 'master'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - timed: '{schedule}'
+      - timed: '{schedule}'
 
     builders:
-        - integration-infra-stack-3-type:
-            vm_0_count: '{odl_system_count}'
-            vm_0_flavor: '{odl_system_flavor}'
-            vm_0_image: '{odl_system_image}'
-            vm_1_count: '{openstack_system_count}'
-            vm_1_flavor: '{openstack_system_flavor}'
-            vm_1_image: '{openstack_system_image}'
-            vm_2_count: '{tools_system_count}'
-            vm_2_flavor: '{tools_system_flavor}'
-            vm_2_image: '{tools_system_image}'
-        - integration-install-robotframework
-        - inject:
-            properties-file: 'env.properties'
-        - integration-get-slave-addresses
-        - inject:
-            properties-file: 'slave_addresses.txt'
-        - integration-get-bundle-vars
-        - inject:
-            properties-file: 'bundle_vars.txt'
-        - integration-deploy-controller-run-test
-        - integration-deploy-openstack-run-test
-        - integration-cleanup-tmp
+      - integration-infra-stack-3-type:
+          vm_0_count: '{odl_system_count}'
+          vm_0_flavor: '{odl_system_flavor}'
+          vm_0_image: '{odl_system_image}'
+          vm_1_count: '{openstack_system_count}'
+          vm_1_flavor: '{openstack_system_flavor}'
+          vm_1_image: '{openstack_system_image}'
+          vm_2_count: '{tools_system_count}'
+          vm_2_flavor: '{tools_system_flavor}'
+          vm_2_image: '{tools_system_image}'
+      - integration-install-robotframework
+      - inject:
+          properties-file: 'env.properties'
+      - integration-get-slave-addresses
+      - inject:
+          properties-file: 'slave_addresses.txt'
+      - integration-get-bundle-vars
+      - inject:
+          properties-file: 'bundle_vars.txt'
+      - integration-deploy-controller-run-test
+      - integration-deploy-openstack-run-test
+      - integration-cleanup-tmp
 
     publishers:
-        - integration-robot-tempest:
-            unstable-if: 0.0
-            pass-if: 100.0
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project}]'
-        - integration-csit-archive-build
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - integration-robot-tempest:
+          unstable-if: 0.0
+          pass-if: 100.0
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project}]'
+      - integration-csit-archive-build
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 - job-template:
     name: '{project}-csit-{topology}-openstack-{openstack}-{functionality}-{stream}'
     concurrent: true
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: 'integration/test'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
-        - integration-distribution-branch:
-            branch: '{branch}'
-        - integration-distribution-stream:
-            stream: '{stream}'
-        - integration-bundleurl:
-            bundleurl: '{bundleurl}'
-        - integration-controller-features:
-            controller-features: '{install-features}'
-        - integration-test-options:
-            test-options: '{robot-options}'
-        - integration-test-plan:
-            test-plan: '{testplan}'
-        - integration-patch-refspec:
-            branch: 'master'
-        - integration-jdk-version:
-            jdkversion: '{jre}'
-        - string:
-            name: OPENSTACK_BRANCH
-            default: '{openstack-branch}'
-            description: 'Openstack version to use with devstack'
-        - string:
-            name: ODL_ML2_DRIVER_REPO
-            default: '{odl-ml2-driver-repo}'
-            description: 'URL to fetch networking-odl driver'
-        - string:
-            name: ODL_ML2_BRANCH
-            default: '{odl-ml2-branch}'
-            description: 'Version of networking-odl to checkout from the repo'
-        - string:
-            name: ODL_ML2_DRIVER_VERSION
-            default: '{odl-ml2-driver-version}'
-            description: 'Mode of networking-odl (v1 or v2)'
-        - string:
-            name: ODL_ENABLE_L3_FWD
-            default: '{odl-enable-l3}'
-            description: 'Enable L3 FWD in ODL for createing br-ex'
-        - string:
-            name: PUBLIC_BRIDGE
-            default: '{public-bridge}'
-            description: 'Specifies public bridge for provider and external networking'
-        - string:
-            name: ENABLE_HAPROXY_FOR_NEUTRON
-            default: '{enable-haproxy}'
-            description: 'Enable HAProxy for using neutron interface as HA'
-        - string:
-            name: ENABLE_OS_SERVICES
-            default: '{enable-openstack-services}'
-            description: 'comma seperated list of services to enable'
-        - string:
-            name: DISABLE_OS_SERVICES
-            default: '{disable-openstack-services}'
-            description: 'comma seperated list of services to enable'
-        - string:
-            name: TENANT_NETWORK_TYPE
-            default: '{tenant-network-type}'
-            description: 'Tenant Network Type supported by the implementation'
-        - string:
-            name: SECURITY_GROUP_MODE
-            default: '{security-group-mode}'
-            description: 'Security Group Mode to be used in netvirt aclservice config'
-        - string:
-            name: PUBLIC_PHYSICAL_NETWORK
-            default: '{public-physical-network}'
-            description: 'provider physical network used for flat/vlan networks'
-        - string:
-            name: ENABLE_NETWORKING_L2GW
-            default: '{enable-networking-l2gw}'
-            description: 'Enable networking L2gw'
-        - string:
-            name: NETWORKING_L2GW_DRIVER
-            default: '{networking-l2gw-repo}'
-            description: 'URL to fetch networking-l2gw driver'
-        - string:
-            name: DISABLE_ODL_L3_PLUGIN
-            default: '{disable-odl-l3-service-plugin}'
-            description: 'Disable odl l3 service plugin'
+      - opendaylight-infra-parameters:
+          project: 'integration/test'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-distribution-stream:
+          stream: '{stream}'
+      - integration-bundleurl:
+          bundleurl: '{bundleurl}'
+      - integration-controller-features:
+          controller-features: '{install-features}'
+      - integration-test-options:
+          test-options: '{robot-options}'
+      - integration-test-plan:
+          test-plan: '{testplan}'
+      - integration-patch-refspec:
+          branch: 'master'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
+      - string:
+          name: OPENSTACK_BRANCH
+          default: '{openstack-branch}'
+          description: 'Openstack version to use with devstack'
+      - string:
+          name: ODL_ML2_DRIVER_REPO
+          default: '{odl-ml2-driver-repo}'
+          description: 'URL to fetch networking-odl driver'
+      - string:
+          name: ODL_ML2_BRANCH
+          default: '{odl-ml2-branch}'
+          description: 'Version of networking-odl to checkout from the repo'
+      - string:
+          name: ODL_ML2_DRIVER_VERSION
+          default: '{odl-ml2-driver-version}'
+          description: 'Mode of networking-odl (v1 or v2)'
+      - string:
+          name: ODL_ENABLE_L3_FWD
+          default: '{odl-enable-l3}'
+          description: 'Enable L3 FWD in ODL for createing br-ex'
+      - string:
+          name: PUBLIC_BRIDGE
+          default: '{public-bridge}'
+          description: 'Specifies public bridge for provider and external networking'
+      - string:
+          name: ENABLE_HAPROXY_FOR_NEUTRON
+          default: '{enable-haproxy}'
+          description: 'Enable HAProxy for using neutron interface as HA'
+      - string:
+          name: ENABLE_OS_SERVICES
+          default: '{enable-openstack-services}'
+          description: 'comma seperated list of services to enable'
+      - string:
+          name: DISABLE_OS_SERVICES
+          default: '{disable-openstack-services}'
+          description: 'comma seperated list of services to enable'
+      - string:
+          name: TENANT_NETWORK_TYPE
+          default: '{tenant-network-type}'
+          description: 'Tenant Network Type supported by the implementation'
+      - string:
+          name: SECURITY_GROUP_MODE
+          default: '{security-group-mode}'
+          description: 'Security Group Mode to be used in netvirt aclservice config'
+      - string:
+          name: PUBLIC_PHYSICAL_NETWORK
+          default: '{public-physical-network}'
+          description: 'provider physical network used for flat/vlan networks'
+      - string:
+          name: ENABLE_NETWORKING_L2GW
+          default: '{enable-networking-l2gw}'
+          description: 'Enable networking L2gw'
+      - string:
+          name: NETWORKING_L2GW_DRIVER
+          default: '{networking-l2gw-repo}'
+          description: 'URL to fetch networking-l2gw driver'
+      - string:
+          name: DISABLE_ODL_L3_PLUGIN
+          default: '{disable-odl-l3-service-plugin}'
+          description: 'Disable odl l3 service plugin'
+
     scm:
-        - integration-gerrit-scm:
-            basedir: 'test'
-            refspec: '$PATCHREFSPEC'
-            branch: 'master'
+      - integration-gerrit-scm:
+          basedir: 'test'
+          refspec: '$PATCHREFSPEC'
+          branch: 'master'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - timed: '{schedule}'
+      - timed: '{schedule}'
 
     builders:
-        - integration-infra-stack:
-            stack-template: '{stack-template}'
-            vm_0_count: '{odl_system_count}'
-            vm_0_flavor: '{odl_system_flavor}'
-            vm_0_image: '{odl_system_image}'
-            vm_1_count: '{openstack_system_count}'
-            vm_1_flavor: '{openstack_system_flavor}'
-            vm_1_image: '{openstack_system_image}'
-        - integration-install-robotframework
-        - inject:
-            properties-file: 'env.properties'
-        - integration-get-slave-addresses
-        - inject:
-            properties-file: 'slave_addresses.txt'
-        - integration-get-bundle-vars
-        - inject:
-            properties-file: 'bundle_vars.txt'
-        - integration-deploy-controller-run-test
-        - integration-deploy-openstack-run-test
-        - integration-cleanup-tmp
+      - integration-infra-stack:
+          stack-template: '{stack-template}'
+          vm_0_count: '{odl_system_count}'
+          vm_0_flavor: '{odl_system_flavor}'
+          vm_0_image: '{odl_system_image}'
+          vm_1_count: '{openstack_system_count}'
+          vm_1_flavor: '{openstack_system_flavor}'
+          vm_1_image: '{openstack_system_image}'
+      - integration-install-robotframework
+      - inject:
+          properties-file: 'env.properties'
+      - integration-get-slave-addresses
+      - inject:
+          properties-file: 'slave_addresses.txt'
+      - integration-get-bundle-vars
+      - inject:
+          properties-file: 'bundle_vars.txt'
+      - integration-deploy-controller-run-test
+      - integration-deploy-openstack-run-test
+      - integration-cleanup-tmp
 
     publishers:
-        - integration-robot-tempest:
-            unstable-if: 0.0
-            pass-if: 100.0
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project}]'
-        - integration-csit-archive-build
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - integration-robot-tempest:
+          unstable-if: 0.0
+          pass-if: 100.0
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project}]'
+      - integration-csit-archive-build
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 # Template: {project}-patch-test-{stream}
 # Goal: Build a patch and run project specific system test on a distribution containing the change
     jdk: '{jdk}'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: '$GERRIT_REFSPEC'
-            artifacts: '{archive-artifacts}'
-        - integration-distribution-branch:
-            branch: '{branch}'
-        - integration-distribution-git-url:
-            git-url: '{git-url}'
-        - string:
-            name: feature
-            default: 'all'
-            description: 'Specific feature test for patch'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: '$GERRIT_REFSPEC'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-distribution-git-url:
+          git-url: '{git-url}'
+      - string:
+          name: feature
+          default: 'all'
+          description: 'Specific feature test for patch'
 
     scm:
-        - integration-gerrit-scm:
-            basedir: '{project}'
-            refspec: '$GERRIT_REFSPEC'
-            branch: '{branch}'
-        - integration-distribution-scm:
-            branch: '{branch}'
+      - integration-gerrit-scm:
+          basedir: '{project}'
+          refspec: '$GERRIT_REFSPEC'
+          branch: '{branch}'
+      - integration-distribution-scm:
+          branch: '{branch}'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - gerrit:
-            server-name: '{server-name}'
-            trigger-on:
-                - comment-added-contains-event:
-                    comment-contains-value: 'test-{project}-all'
-                - comment-added-contains-event:
-                    comment-contains-value: 'test-{project}-{feature}'
-            projects:
-              - project-compare-type: 'ANT'
-                project-pattern: '{project}'
-                branches:
-                  - branch-compare-type: 'ANT'
-                    branch-pattern: '**/{branch}'
-            skip-vote:
-                successful: true
-                failed: true
-                unstable: true
-                notbuilt: true
+      - gerrit:
+          server-name: '{server-name}'
+          trigger-on:
+            - comment-added-contains-event:
+                comment-contains-value: 'test-{project}-all'
+            - comment-added-contains-event:
+                comment-contains-value: 'test-{project}-{feature}'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: '{project}'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+          skip-vote:
+            successful: true
+            failed: true
+            unstable: true
+            notbuilt: true
 
     prebuilders:
-        - integration-rebase-gerrit-patch
-        - integration-get-bundle-url
-        - inject:
-            properties-file: 'bundle.txt'
-        - wipe-org-opendaylight-repo
-        - provide-maven-settings:
-            global-settings-file: 'odl-global-settings'
-            settings-file: 'integration-settings'
-        - maven-target:
-            maven-version: 'mvn33'
-            pom: '{project}/pom.xml'
-            goals: 'clean install dependency:tree -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
-            java-opts:
-                - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
-            settings: 'integration-settings'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
+      - integration-rebase-gerrit-patch
+      - integration-get-bundle-url
+      - inject:
+          properties-file: 'bundle.txt'
+      - wipe-org-opendaylight-repo
+      - provide-maven-settings:
+          global-settings-file: 'odl-global-settings'
+          settings-file: 'integration-settings'
+      - maven-target:
+          maven-version: 'mvn33'
+          pom: '{project}/pom.xml'
+          goals: >
+              clean install dependency:tree -V -B -Djenkins
+              -DskipTests
+              -Dcheckstyle.skip=true
+              -Dmaven.javadoc.skip=true
+              -Dmaven.site.skip=true
+              -DgenerateReports=false
+              -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+              -Dstream={stream}
+          java-opts:
+            - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+          settings: 'integration-settings'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
 
     maven:
-        maven-name: 'mvn33'
-        root-pom: 'distribution/pom.xml'
-        goals: 'clean install dependency:tree -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
-        maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
-        settings: 'integration-settings'
-        settings-type: cfp
-        global-settings: 'odl-global-settings'
-        global-settings-type: cfp
-        ignore-upstream-changes: true
-        post-step-run-condition: 'SUCCESS'
+      maven-name: 'mvn33'
+      root-pom: 'distribution/pom.xml'
+      goals: >
+          clean install dependency:tree -V -B -Djenkins
+          -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+      maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
+      settings: 'integration-settings'
+      settings-type: cfp
+      global-settings: 'odl-global-settings'
+      global-settings-type: cfp
+      ignore-upstream-changes: true
+      post-step-run-condition: 'SUCCESS'
 
     postbuilders:
-        - trigger-builds:
-            - project: '{csit-list}'
-              block: true
-              predefined-parameters:
-                  BUNDLEURL=$BUNDLEURL
+      - trigger-builds:
+          - project: '{csit-list}'
+            block: true
+            predefined-parameters:
+              BUNDLEURL=$BUNDLEURL
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project}]'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project}]'
index 72830febbf46f343ebdd20ed30a386445de13ac2..05475de15590e55fa0134de96cc2363ff886f520 100644 (file)
@@ -1,36 +1,37 @@
+---
 - project:
     name: integration-test
     project: integration/test
     project-name: integration-test
     jobs:
-        - '{project-name}-verify-tox-{stream}'
-        - 'integration-csit-verify-1node-library'
-        - 'integration-distribution-test-{stream}'
-        - 'integration-patch-test-{stream}'
-        - 'integration-multipatch-test-{stream}'
+      - '{project-name}-verify-tox-{stream}'
+      - 'integration-csit-verify-1node-library'
+      - 'integration-distribution-test-{stream}'
+      - 'integration-patch-test-{stream}'
+      - 'integration-multipatch-test-{stream}'
 
     # CSIT Lists in releng-defaults.yaml
     stream:
-        - carbon:
-            branch: 'master'
-            jdk: 'openjdk8'
-            jre: 'openjdk8'
-            csit-list: '{csit-list-carbon}'
-            schedule: 'H H * * 0-4'
-
-        - boron:
-            branch: 'stable/boron'
-            jdk: 'openjdk8'
-            jre: 'openjdk8'
-            csit-list: '{csit-list-boron}'
-            schedule: 'H H * * 0-4'
-
-        - beryllium:
-            branch: 'stable/beryllium'
-            jdk: 'openjdk7'
-            jre: 'openjdk7'
-            csit-list: '{csit-list-beryllium}'
-            schedule: 'H H * * 6'
+      - carbon:
+          branch: 'master'
+          jdk: 'openjdk8'
+          jre: 'openjdk8'
+          csit-list: '{csit-list-carbon}'
+          schedule: 'H H * * 0-4'
+
+      - boron:
+          branch: 'stable/boron'
+          jdk: 'openjdk8'
+          jre: 'openjdk8'
+          csit-list: '{csit-list-boron}'
+          schedule: 'H H * * 0-4'
+
+      - beryllium:
+          branch: 'stable/beryllium'
+          jdk: 'openjdk7'
+          jre: 'openjdk7'
+          csit-list: '{csit-list-beryllium}'
+          schedule: 'H H * * 6'
 
     # tools system image
     tools_system_image: Ubuntu 14.04 - mininet-ovs-25 - 20170210-0300
     test-branch: master
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{test-branch}'
-            refspec: 'refs/heads/{test-branch}'
-            artifacts: '{archive-artifacts}'
-        - integration-distribution-branch:
-            branch: '{branch}'
-        - integration-distribution-stream:
-            stream: '{dist-stream}'
-        - integration-bundleurl:
-            bundleurl: '{bundleurl}'
-        - integration-controller-scope:
-            controller-scope: '{scope}'
-        - integration-controller-features:
-            controller-features: >
-                odl-clustering-test-app,
-                odl-openflowplugin-flow-services-ui,
-                odl-openflowplugin-app-table-miss-enforcer,
-                odl-bgpcep-pcep,
-                odl-bgpcep-bgp,
-                odl-netconf-connector-all
-        # when upgrading to carbon you should replace odl-netconf-connector-all with odl-netconf-topology
-        # and change USE_NETCONF_CONNECTOR to False in test-options
-        - integration-test-options:
-            test-options: '-v TIMEOUT_BUG_4220:10s -v USE_NETCONF_CONNECTOR:True'
-        - integration-stream-test-plan:
-            stream-test-plan: 'test-libraries-{dist-stream}.txt'
-        - integration-test-plan:
-            test-plan: 'test-libraries.txt'
-        - integration-patch-refspec:
-            branch: '$GERRIT_REFSPEC'
-        - integration-jdk-version:
-            jdkversion: '{jre}'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{test-branch}'
+          refspec: 'refs/heads/{test-branch}'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-distribution-stream:
+          stream: '{dist-stream}'
+      - integration-bundleurl:
+          bundleurl: '{bundleurl}'
+      - integration-controller-scope:
+          controller-scope: '{scope}'
+      - integration-controller-features:
+          controller-features: >
+              odl-clustering-test-app,
+              odl-openflowplugin-flow-services-ui,
+              odl-openflowplugin-app-table-miss-enforcer,
+              odl-bgpcep-pcep,
+              odl-bgpcep-bgp,
+              odl-netconf-connector-all
+      # when upgrading to carbon you should replace odl-netconf-connector-all with odl-netconf-topology
+      # and change USE_NETCONF_CONNECTOR to False in test-options
+      - integration-test-options:
+          test-options: '-v TIMEOUT_BUG_4220:10s -v USE_NETCONF_CONNECTOR:True'
+      - integration-stream-test-plan:
+          stream-test-plan: 'test-libraries-{dist-stream}.txt'
+      - integration-test-plan:
+          test-plan: 'test-libraries.txt'
+      - integration-patch-refspec:
+          branch: '$GERRIT_REFSPEC'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
 
     scm:
-        - integration-gerrit-scm:
-            basedir: 'test'
-            refspec: '$PATCHREFSPEC'
-            branch: '{test-branch}'
+      - integration-gerrit-scm:
+          basedir: 'test'
+          refspec: '$PATCHREFSPEC'
+          branch: '{test-branch}'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - integration-trigger-patch-submitted:
-            server: '{server-name}'
-            project: '{project}'
-            branch: '{test-branch}'
-            files: 'csit/libraries/*'
+      - integration-trigger-patch-submitted:
+          server: '{server-name}'
+          project: '{project}'
+          branch: '{test-branch}'
+          files: 'csit/libraries/*'
 
     builders:
-        - integration-infra-stack:
-            stack-template: '{stack-template}'
-            vm_0_count: '1'
-            vm_0_flavor: '{odl_system_flavor}'
-            vm_0_image: '{odl_system_image}'
-            vm_1_count: '{tools_system_count}'
-            vm_1_flavor: '{tools_system_flavor}'
-            vm_1_image: '{tools_system_image}'
-        - integration-install-robotframework
-        - inject:
-            properties-file: 'env.properties'
-        - integration-get-slave-addresses
-        - inject:
-            properties-file: 'slave_addresses.txt'
-        - integration-get-bundle-vars
-        - inject:
-            properties-file: 'bundle_vars.txt'
-        - integration-deploy-controller-run-test
-        - integration-cleanup-tmp
+      - integration-infra-stack:
+          stack-template: '{stack-template}'
+          vm_0_count: '1'
+          vm_0_flavor: '{odl_system_flavor}'
+          vm_0_image: '{odl_system_image}'
+          vm_1_count: '{tools_system_count}'
+          vm_1_flavor: '{tools_system_flavor}'
+          vm_1_image: '{tools_system_image}'
+      - integration-install-robotframework
+      - inject:
+          properties-file: 'env.properties'
+      - integration-get-slave-addresses
+      - inject:
+          properties-file: 'slave_addresses.txt'
+      - integration-get-bundle-vars
+      - inject:
+          properties-file: 'bundle_vars.txt'
+      - integration-deploy-controller-run-test
+      - integration-cleanup-tmp
 
     publishers:
-        - integration-robot:
-            unstable-if: 0.0
-            pass-if: 100.0
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[integration]'
-        - integration-csit-archive-build
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - integration-robot:
+          unstable-if: 0.0
+          pass-if: 100.0
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[integration]'
+      - integration-csit-archive-build
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 # Template: integration-distribution-test-{stream}
 # Goal: Verify a distribution through all system test available
     node: centos7-robot-2c-2g
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - integration-bundleurl:
-            bundleurl: '{bundleurl}'
-        - integration-jdk-version:
-            jdkversion: '{jre}'
+      - integration-bundleurl:
+          bundleurl: '{bundleurl}'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
 
     triggers:
-        - timed: '{schedule}'
+      - timed: '{schedule}'
 
     builders:
-        - trigger-builds:
-            - project: '{csit-list}'
-              block: true
-              predefined-parameters:
-                  BUNDLEURL=$BUNDLEURL
+      - trigger-builds:
+          - project: '{csit-list}'
+            block: true
+            predefined-parameters:
+              BUNDLEURL=$BUNDLEURL
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[integration]'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[integration]'
 
 # Template: integration-patch-test-{stream}
 # Goal: Build a patch and run all available system test on a distribution containing the change
     jdk: '{jdk}'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '$GERRIT_PROJECT'
-            branch: '{branch}'
-            refspec: '$GERRIT_REFSPEC'
-            artifacts: '{archive-artifacts} **/dependency_tree.txt'
-        - integration-distribution-branch:
-            branch: '{branch}'
-        - integration-distribution-git-url:
-            git-url: '{git-url}'
+      - opendaylight-infra-parameters:
+          project: '$GERRIT_PROJECT'
+          branch: '{branch}'
+          refspec: '$GERRIT_REFSPEC'
+          artifacts: '{archive-artifacts} **/dependency_tree.txt'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-distribution-git-url:
+          git-url: '{git-url}'
 
     scm:
-        - integration-gerrit-scm:
-            basedir: '$GERRIT_PROJECT'
-            refspec: '$GERRIT_REFSPEC'
-            branch: '{branch}'
-        - integration-distribution-scm:
-            branch: '{branch}'
+      - integration-gerrit-scm:
+          basedir: '$GERRIT_PROJECT'
+          refspec: '$GERRIT_REFSPEC'
+          branch: '{branch}'
+      - integration-distribution-scm:
+          branch: '{branch}'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '720'
+      - opendaylight-infra-wrappers:
+          build-timeout: '720'
 
     triggers:
-        - gerrit:
-            server-name: '{server-name}'
-            trigger-on:
-                - comment-added-contains-event:
-                    comment-contains-value: 'test-integration'
-            projects:
-              - project-compare-type: 'ANT'
-                project-pattern: '**'
-                branches:
-                  - branch-compare-type: 'ANT'
-                    branch-pattern: '**/{branch}'
-            skip-vote:
-                successful: true
-                failed: true
-                unstable: true
-                notbuilt: true
+      - gerrit:
+          server-name: '{server-name}'
+          trigger-on:
+            - comment-added-contains-event:
+                comment-contains-value: 'test-integration'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: '**'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+          skip-vote:
+            successful: true
+            failed: true
+            unstable: true
+            notbuilt: true
 
     prebuilders:
-        - integration-rebase-gerrit-patch
-        - integration-get-bundle-url
-        - inject:
-            properties-file: 'bundle.txt'
-        - wipe-org-opendaylight-repo
-        - provide-maven-settings:
-            global-settings-file: 'odl-global-settings'
-            settings-file: 'integration-settings'
-        - maven-target:
-            maven-version: 'mvn33'
-            pom: '$GERRIT_PROJECT/pom.xml'
-            goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B -Pq -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
-            java-opts:
-                - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
-            settings: 'integration-settings'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
+      - integration-rebase-gerrit-patch
+      - integration-get-bundle-url
+      - inject:
+          properties-file: 'bundle.txt'
+      - wipe-org-opendaylight-repo
+      - provide-maven-settings:
+          global-settings-file: 'odl-global-settings'
+          settings-file: 'integration-settings'
+      - maven-target:
+          maven-version: 'mvn33'
+          pom: '$GERRIT_PROJECT/pom.xml'
+          goals: >
+              clean install dependency:tree -DoutputFile=dependency_tree.txt
+              -V -B -Pq -Djenkins
+              -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+              -Dstream={stream}
+          java-opts:
+            - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+          settings: 'integration-settings'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
 
     maven:
-        maven-name: 'mvn33'
-        root-pom: 'distribution/pom.xml'
-        goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
-        maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
-        settings: 'integration-settings'
-        settings-type: cfp
-        global-settings: 'odl-global-settings'
-        global-settings-type: cfp
-        ignore-upstream-changes: true
-        post-step-run-condition: 'SUCCESS'
+      maven-name: 'mvn33'
+      root-pom: 'distribution/pom.xml'
+      goals: >
+          clean install dependency:tree -DoutputFile=dependency_tree.txt
+          -V -B -Djenkins
+          -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+      maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
+      settings: 'integration-settings'
+      settings-type: cfp
+      global-settings: 'odl-global-settings'
+      global-settings-type: cfp
+      ignore-upstream-changes: true
+      post-step-run-condition: 'SUCCESS'
 
     postbuilders:
-        - trigger-builds:
-            - project: '{csit-list}'
-              block: true
-              predefined-parameters:
-                  BUNDLEURL=$BUNDLEURL
+      - trigger-builds:
+          - project: '{csit-list}'
+            block: true
+            predefined-parameters:
+              BUNDLEURL=$BUNDLEURL
 
     publishers:
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[$GERRIT_PROJECT]'
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[$GERRIT_PROJECT]'
 
 # Template: integration-multipatch-test-{stream}
 # Goal: Build one or more patches and run all available system test on a distribution containing the change
     jdk: '{jdk}'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - patches-to-build-parameter:
-            patches_to_build: '$PATCHES_TO_BUILD'
-        - integration-distribution-branch:
-            branch: '{branch}'
-        - opendaylight-infra-parameters:
-            project: 'integration/distribution'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts} **/dependency_tree.txt'
+      - patches-to-build-parameter:
+          patches_to_build: '$PATCHES_TO_BUILD'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - opendaylight-infra-parameters:
+          project: 'integration/distribution'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts} **/dependency_tree.txt'
 
     prebuilders:
-        - wipe-org-opendaylight-repo
-        - integration-multipatch-builder
-        - inject:
-            properties-file: 'bundle.txt'
-        - provide-maven-settings:
-            global-settings-file: 'odl-global-settings'
-            settings-file: 'yangtools-settings'
+      - wipe-org-opendaylight-repo
+      - integration-multipatch-builder
+      - inject:
+          properties-file: 'bundle.txt'
+      - provide-maven-settings:
+          global-settings-file: 'odl-global-settings'
+          settings-file: 'yangtools-settings'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '1200'
+      - opendaylight-infra-wrappers:
+          build-timeout: '1200'
 
     maven:
-        maven-name: 'mvn33'
-        root-pom: 'patch_tester/pom.xml'
-        # TODO: Make Maven options configurable. Currently tests are not skipped, everything else is.
-        goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -f patch_tester/pom.xml -V -B -Pq -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
-        maven-opts: '-Xmx7168m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
-        settings: 'yangtools-settings'
-        settings-type: cfp
-        global-settings: 'odl-global-settings'
-        global-settings-type: cfp
-        post-step-run-condition: 'SUCCESS'
+      maven-name: 'mvn33'
+      root-pom: 'patch_tester/pom.xml'
+      # TODO: Make Maven options configurable. Currently tests are not skipped, everything else is.
+      goals: >
+          clean install dependency:tree -DoutputFile=dependency_tree.txt
+          -f patch_tester/pom.xml -V -B -Pq -Djenkins
+          -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+          -Dstream={stream}
+      maven-opts: '-Xmx7168m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+      settings: 'yangtools-settings'
+      settings-type: cfp
+      global-settings: 'odl-global-settings'
+      global-settings-type: cfp
+      post-step-run-condition: 'SUCCESS'
 
     postbuilders:
-        - trigger-builds:
-            - project: '{csit-list}'
-              block: true
-              predefined-parameters:
-                  BUNDLEURL=$BUNDLEURL
+      - trigger-builds:
+          - project: '{csit-list}'
+            block: true
+            predefined-parameters:
+              BUNDLEURL=$BUNDLEURL
 
     publishers:
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[int/dist]'
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[int/dist]'
index 98c1e30ba607372a7a5ecaa045f458a0c4a3dc70..534cf14690280bcb6558984ad7f02c6944e3559f 100644 (file)
@@ -1,3 +1,4 @@
+---
 # ODL Releng jenkins defaults
 
 - defaults:
     10-inclusion-flag: 'off'
     10-exclude-value: ''
 
-    ### CSIT Test List Variables
+    # CSIT Test List Variables
     # Space seperated strings to exclude from CSIT lists
     csit-list-blacklist: 'longevity gate'
     # Auto Generated CSIT job lists used
index 87a2dd943e93f579be8cae0bce737d0d298e3c9c..e120bc6d5f4d18ed6cab2d5fd74cb52b19416d3a 100644 (file)
@@ -1,3 +1,4 @@
+---
 - job-template:
     # Template used for running CLM scans
     # Arguements:
     jdk: '{jdk}'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
 
     scm:
-        - git-scm:
-            refspec: ''
-            branch: '{branch}'
+      - git-scm:
+          refspec: ''
+          branch: '{branch}'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - timed: 'H H * * 6'
+      - timed: 'H H * * 6'
 
     builders:
-        - provide-maven-settings:
-            global-settings-file: 'odl-global-settings'
-            settings-file: '{mvn-settings}'
-        - maven-target:
-            maven-version: 'mvn33'
-            pom: 'pom.xml'
-            goals: 'clean install dependency:tree com.sonatype.clm:clm-maven-plugin:index -V -B -Pq -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
-            java-opts:
-              - '-Xmx4096m -XX:MaxPermSize=512m'
-            settings: '{mvn-settings}'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
-        - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
-        - check-clm:
-            application-name: '{project-name}'
+      - provide-maven-settings:
+          global-settings-file: 'odl-global-settings'
+          settings-file: '{mvn-settings}'
+      - maven-target:
+          maven-version: 'mvn33'
+          pom: 'pom.xml'
+          goals: >
+              clean install dependency:tree com.sonatype.clm:clm-maven-plugin:index
+              -V -B -Pq
+              -Djenkins
+              -Dmaven.repo.local=/tmp/r
+              -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+          java-opts:
+            - '-Xmx4096m -XX:MaxPermSize=512m'
+          settings: '{mvn-settings}'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
+      - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
+      - check-clm:
+          application-name: '{project-name}'
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project-name}]'
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project-name}]'
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 - job-template:
     # Template: {project-name}-distribution-check-{stream}
     jdk: '{jdk}'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts} **/dependency_tree.txt **/target/surefire-reports/*-output.txt'
-        - integration-distribution-git-url:
-            git-url: '{git-url}'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts} **/dependency_tree.txt **/target/surefire-reports/*-output.txt'
+      - integration-distribution-git-url:
+          git-url: '{git-url}'
 
     scm:
-        - integration-gerrit-scm:
-            basedir: '$GERRIT_PROJECT'
-            refspec: '$GERRIT_REFSPEC'
-            branch: '{branch}'
-        - integration-distribution-scm:
-            branch: '{distribution_branch}'
+      - integration-gerrit-scm:
+          basedir: '$GERRIT_PROJECT'
+          refspec: '$GERRIT_REFSPEC'
+          branch: '{branch}'
+      - integration-distribution-scm:
+          branch: '{distribution_branch}'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            # Distro-check jobs typically run within 10 - 30 minutes
-            # with 45 minutes being the occassional edge case.
-            # enforce a 60 minute limit to ensure stuck jobs get
-            # cleared up sooner.
-            build-timeout: '60'
+      - opendaylight-infra-wrappers:
+          # Distro-check jobs typically run within 10 - 30 minutes
+          # with 45 minutes being the occassional edge case.
+          # enforce a 60 minute limit to ensure stuck jobs get
+          # cleared up sooner.
+          build-timeout: '60'
 
     triggers:
-        - gerrit-trigger-patch-submitted:
-            server: '{server-name}'
-            project: '{project}'
-            branch: '{branch}'
-            files: '**'
+      - gerrit-trigger-patch-submitted:
+          server: '{server-name}'
+          project: '{project}'
+          branch: '{branch}'
+          files: '**'
 
     builders:
-        # Step zero: Wipe file repositories up front.
-        - shell: |
-            echo "wipe r: the local Maven repository"
-            rm -rfv /tmp/r
-            echo "wipe n: the fake remote (Nexus) repository"
-            rm -rfv /tmp/n
-            echo "wipe t: the transient repository used in some manipulations"
-            rm -rfv /tmp/t
-        # Step one: Online build of the project, using local repository /tmp/r/ and deploying artifacts to /tmp/n/.
-        # Ordinary SingleFeatureTest failures are detected in the verify job, so we can use "q" profile here.
-        - maven-target:
-            maven-version: 'mvn33'
-            pom: '$GERRIT_PROJECT/pom.xml'
-            goals: 'clean deploy dependency:tree -DoutputFile=dependency_tree.txt -V -B -Pq -Djenkins -Dstream={stream} -DaltDeploymentRepository=fake-nexus::default::file:///tmp/n/ -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
-            java-opts:
-                - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
-            settings: '{mvn-settings}'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
-        # Step two: Verify all deployed artifacts belong to the project's groupId.
-        # This is done by moving the allowed directories out of /tmp/n and checking no files remained there.
-        # The correct directory is derived from $GERRIT_PROJECT.
-        - shell: |
-            mkdir -p /tmp/t/org/opendaylight/$GERRIT_PROJECT
-            mv /tmp/n/org/opendaylight/$GERRIT_PROJECT/* /tmp/t/org/opendaylight/$GERRIT_PROJECT/
-            test `find /tmp/n/ -type f | wc -l` -eq 0
-            rm -rf /tmp/n
-            mv /tmp/t /tmp/n
-        # Step three: Online build of integration distribution.
-        # This step is mainly used for downloading other project artifacts.
-        # Running SingleFeaturesTest here does not seem to be required, so -Pq is used again.
-        - maven-target:
-            maven-version: 'mvn33'
-            pom: 'distribution/pom.xml'
-            goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B -Pq -Djenkins -Dstream={stream} -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
-            java-opts:
-              - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
-            settings: '{mvn-settings}'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
-        # Step four: Delete snapshot artifacts from the local repository.
-        # This is critical to detect orphaned artifacts or missing project-internal dependency declarations.
-        # Also other files related to maven repository resolution are removed,
-        # and then empty directories are removed, in order to simplify debugging.
-        - shell: |
-            set +e  # To avoid failures in projects which generate zero snapshot artifacts.
-            find /tmp/r/org/opendaylight/$GERRIT_PROJECT/ -path *-SNAPSHOT* -delete
-            find /tmp/r/ -regex '.*/_remote.repositories\|.*/maven-metadata-local\.xml\|.*/maven-metadata-fake-nexus\.xml\|.*/resolver-status\.properties' -delete
-            find /tmp/r/ -type d -empty -delete
-            echo "# INFO: A listing of project related files left in local repository follows."
-            find /tmp/r/org/opendaylight/$GERRIT_PROJECT/
-            true  # To prevent the possibly non-zero return code from failing the job.
-        # Now the ugly part. It seems that the only way to tell Maven 2+
-        # which remote repositories to use is via settings.xml file.
-        # So we create such a file here, but it needs most of odlparent:settings.xml
-        - shell: |
-            echo '
-            <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
-              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-              xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
-              https://maven.apache.org/xsd/settings-1.0.0.xsd">
-              <profiles>
-                <profile>
-                  <id>opendaylight-release</id>
-                  <repositories>
-                    <repository>
-                      <id>opendaylight-mirror</id>
-                      <name>opendaylight</name>
-                      <url>https://nexus.opendaylight.org/content/repositories/public/</url>
-                      <releases><updatePolicy>never</updatePolicy></releases>
-                      <snapshots><enabled>false</enabled></snapshots>
-                    </repository>
-                  </repositories>
-                  <pluginRepositories>
-                    <pluginRepository>
-                      <id>opendaylight-plugin-mirror</id>
-                      <name>opendaylight-plugin</name>
-                      <url>https://nexus.opendaylight.org/content/repositories/public/</url>
-                      <releases><updatePolicy>never</updatePolicy></releases>
-                      <snapshots><enabled>false</enabled></snapshots>
-                    </pluginRepository>
-                  </pluginRepositories>
-                </profile>
-                <profile>
-                  <id>file-snapshots</id>
-                  <repositories>
-                    <repository>
-                      <id>file-snapshots</id>
-                      <name>file</name>
-                      <url>file:///tmp/n/</url>
-                      <releases><enabled>false</enabled></releases>
-                    </repository>
-                  </repositories>
-                  <pluginRepositories>
-                    <pluginRepository>
-                      <id>file-plugin-snapshots</id>
-                      <name>file-plugin</name>
-                      <url>file:///tmp/n/</url>
-                      <releases><enabled>false</enabled></releases>
-                    </pluginRepository>
-                  </pluginRepositories>
-                </profile>
-              </profiles>
-              <activeProfiles>
-                <activeProfile>file-snapshots</activeProfile>
-                <activeProfile>opendaylight-release</activeProfile>
-              </activeProfiles>
-            </settings>
-            ' > fake_remotes.xml
-        # # Notes: The settings are minimal in order to detect breakage scenarios while allowing for the following quirks:
-        # # * Some plugins seem to have hardcoded repos, for example check-license looks at repository.apache.org
-        # # * Some plugin artifacts (related to surefire) are not downloaded when tests are skipped.
-        # # * populate-local-repo looks at oss.sonatype.org and does not store things (like guava) to /tmp/r
-        # Step five: Repeat the distribution build but with the new settings.
-        # Here, only the project snapshot artifacts deployed to /tmp/n are available,
-        # which faithfully reproduces conditions in later verify-like job runs.
-        # We cannot use --offline, because: "Cannot access file (file:///tmp/n) in offline mode"
-        # This is where SingleFeatureTest is not skipped.
-        - maven-target:
-            maven-version: 'mvn33'
-            pom: 'distribution/pom.xml'
-            goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -s fake_remotes.xml -V -B -Pq -DskipTests=false -Djenkins -Dstream={stream} -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
-            java-opts:
-              - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
-        # Step six: Run Karaf and verify no critical failures are present.
-        - integration-distribution-check
+      # Step zero: Wipe file repositories up front.
+      - shell: |
+          echo "wipe r: the local Maven repository"
+          rm -rfv /tmp/r
+          echo "wipe n: the fake remote (Nexus) repository"
+          rm -rfv /tmp/n
+          echo "wipe t: the transient repository used in some manipulations"
+          rm -rfv /tmp/t
+      # Step one: Online build of the project, using local repository /tmp/r/ and deploying artifacts to /tmp/n/.
+      # Ordinary SingleFeatureTest failures are detected in the verify job, so we can use "q" profile here.
+      - maven-target:
+          maven-version: 'mvn33'
+          pom: '$GERRIT_PROJECT/pom.xml'
+          goals: >
+              clean deploy dependency:tree
+              -DoutputFile=dependency_tree.txt
+              -V -B -Pq
+              -Djenkins
+              -Dstream={stream}
+              -DaltDeploymentRepository=fake-nexus::default::file:///tmp/n/
+              -Dmaven.repo.local=/tmp/r
+              -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+          java-opts:
+            - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+          settings: '{mvn-settings}'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
+      # Step two: Verify all deployed artifacts belong to the project's groupId.
+      # This is done by moving the allowed directories out of /tmp/n and checking no files remained there.
+      # The correct directory is derived from $GERRIT_PROJECT.
+      - shell: |
+          mkdir -p /tmp/t/org/opendaylight/$GERRIT_PROJECT
+          mv /tmp/n/org/opendaylight/$GERRIT_PROJECT/* /tmp/t/org/opendaylight/$GERRIT_PROJECT/
+          test `find /tmp/n/ -type f | wc -l` -eq 0
+          rm -rf /tmp/n
+          mv /tmp/t /tmp/n
+      # Step three: Online build of integration distribution.
+      # This step is mainly used for downloading other project artifacts.
+      # Running SingleFeaturesTest here does not seem to be required, so -Pq is used again.
+      - maven-target:
+          maven-version: 'mvn33'
+          pom: 'distribution/pom.xml'
+          goals: >
+              clean install dependency:tree
+              -DoutputFile=dependency_tree.txt
+              -V -B -Pq
+              -Djenkins
+              -Dstream={stream}
+              -Dmaven.repo.local=/tmp/r
+              -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+          java-opts:
+            - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
+          settings: '{mvn-settings}'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
+      # Step four: Delete snapshot artifacts from the local repository.
+      # This is critical to detect orphaned artifacts or missing project-internal dependency declarations.
+      # Also other files related to maven repository resolution are removed,
+      # and then empty directories are removed, in order to simplify debugging.
+      - shell: !include-raw-escape: integration-distribution-delete-snaphot-artifacts.sh
+      # Now the ugly part. It seems that the only way to tell Maven 2+
+      # which remote repositories to use is via settings.xml file.
+      # So we create such a file here, but it needs most of odlparent:settings.xml
+      - shell: |
+          echo '
+          <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
+            https://maven.apache.org/xsd/settings-1.0.0.xsd">
+            <profiles>
+              <profile>
+                <id>opendaylight-release</id>
+                <repositories>
+                  <repository>
+                    <id>opendaylight-mirror</id>
+                    <name>opendaylight</name>
+                    <url>https://nexus.opendaylight.org/content/repositories/public/</url>
+                    <releases><updatePolicy>never</updatePolicy></releases>
+                    <snapshots><enabled>false</enabled></snapshots>
+                  </repository>
+                </repositories>
+                <pluginRepositories>
+                  <pluginRepository>
+                    <id>opendaylight-plugin-mirror</id>
+                    <name>opendaylight-plugin</name>
+                    <url>https://nexus.opendaylight.org/content/repositories/public/</url>
+                    <releases><updatePolicy>never</updatePolicy></releases>
+                    <snapshots><enabled>false</enabled></snapshots>
+                  </pluginRepository>
+                </pluginRepositories>
+              </profile>
+              <profile>
+                <id>file-snapshots</id>
+                <repositories>
+                  <repository>
+                    <id>file-snapshots</id>
+                    <name>file</name>
+                    <url>file:///tmp/n/</url>
+                    <releases><enabled>false</enabled></releases>
+                  </repository>
+                </repositories>
+                <pluginRepositories>
+                  <pluginRepository>
+                    <id>file-plugin-snapshots</id>
+                    <name>file-plugin</name>
+                    <url>file:///tmp/n/</url>
+                    <releases><enabled>false</enabled></releases>
+                  </pluginRepository>
+                </pluginRepositories>
+              </profile>
+            </profiles>
+            <activeProfiles>
+              <activeProfile>file-snapshots</activeProfile>
+              <activeProfile>opendaylight-release</activeProfile>
+            </activeProfiles>
+          </settings>
+          ' > fake_remotes.xml
+      # # Notes: The settings are minimal in order to detect breakage scenarios while allowing for the following quirks:
+      # # * Some plugins seem to have hardcoded repos, for example check-license looks at repository.apache.org
+      # # * Some plugin artifacts (related to surefire) are not downloaded when tests are skipped.
+      # # * populate-local-repo looks at oss.sonatype.org and does not store things (like guava) to /tmp/r
+      # Step five: Repeat the distribution build but with the new settings.
+      # Here, only the project snapshot artifacts deployed to /tmp/n are available,
+      # which faithfully reproduces conditions in later verify-like job runs.
+      # We cannot use --offline, because: "Cannot access file (file:///tmp/n) in offline mode"
+      # This is where SingleFeatureTest is not skipped.
+      - maven-target:
+          maven-version: 'mvn33'
+          pom: 'distribution/pom.xml'
+          goals: >
+              clean install dependency:tree
+              -DoutputFile=dependency_tree.txt -s fake_remotes.xml
+              -V -B -Pq
+              -DskipTests=false
+              -Djenkins
+              -Dstream={stream}
+              -Dmaven.repo.local=/tmp/r
+              -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+          java-opts:
+            - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
+      # Step six: Run Karaf and verify no critical failures are present.
+      - integration-distribution-check
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project-name}]'
-        - postbuildscript:
-            builders:
-                - shell: |
-                    #!/bin/bash
-                    mkdir -p $WORKSPACE/archives
-                    cp karaf*.log $WORKSPACE/archives
-            script-only-if-succeeded: False
-            script-only-if-failed: False
-            mark-unstable-if-failed: True
-        - archive:
-            artifacts: '*.zip'
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project-name}]'
+      - postbuildscript:
+          builders:
+            - shell: |
+                #!/bin/bash
+                mkdir -p $WORKSPACE/archives
+                cp karaf*.log $WORKSPACE/archives
+          script-only-if-succeeded: False
+          script-only-if-failed: False
+          mark-unstable-if-failed: True
+      - archive:
+          artifacts: '*.zip'
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 - job-template:
     name: '{project-name}-integration-{stream}'
     jdk: '{jdk}'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
 
     scm:
-        - git-scm:
-            refspec: ''
-            branch: '{branch}'
+      - git-scm:
+          refspec: ''
+          branch: '{branch}'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - reverse:
-            jobs: '{dependencies}'
-            result: 'success'
+      - reverse:
+          jobs: '{dependencies}'
+          result: 'success'
 
     builders:
-        - jacoco-nojava-workaround
-        - provide-maven-settings:
-            global-settings-file: 'odl-global-settings'
-            settings-file: '{mvn-settings}'
-        - maven-target:
-            maven-version: 'mvn33'
-            goals: '{mvn-goals} -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
-            java-opts:
-              - '{mvn-opts}'
-            settings: '{mvn-settings}'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
+      - jacoco-nojava-workaround
+      - provide-maven-settings:
+          global-settings-file: 'odl-global-settings'
+          settings-file: '{mvn-settings}'
+      - maven-target:
+          maven-version: 'mvn33'
+          goals: '{mvn-goals} -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+          java-opts:
+            - '{mvn-opts}'
+          settings: '{mvn-settings}'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '{email-upstream}'
-        - findbugs
-        - jacoco-report
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '{email-upstream}'
+      - findbugs
+      - jacoco-report
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 - job-template:
     name: '{project-name}-merge-{stream}'
     jdk: '{jdk}'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: 14
+      - opendaylight-infra-properties:
+          build-days-to-keep: 14
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
 
     scm:
-        - gerrit-trigger-scm:
-            refspec: ''
-            choosing-strategy: 'default'
+      - gerrit-trigger-scm:
+          refspec: ''
+          choosing-strategy: 'default'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - timed: 'H H * * 0'
-        - gerrit-trigger-patch-merged:
-            server-name: '{server-name}'
-            name: '{project}'
-            branch: '{branch}'
+      - timed: 'H H * * 0'
+      - gerrit-trigger-patch-merged:
+          server-name: '{server-name}'
+          name: '{project}'
+          branch: '{branch}'
 
     prebuilders:
-        - jacoco-nojava-workaround
-        - provide-maven-settings:
-            global-settings-file: 'odl-global-settings'
-            settings-file: '{mvn-settings}'
+      - jacoco-nojava-workaround
+      - provide-maven-settings:
+          global-settings-file: 'odl-global-settings'
+          settings-file: '{mvn-settings}'
 
     # TODO: Do we want to apply sophisticated checks as in *-distribution-check-*?
     maven:
-        maven-name: 'mvn33'
-        goals: '{mvn-goals} -V -B -Djenkins -Dmerge -Dstream={stream} -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
-        maven-opts: '{mvn-opts}'
-        settings: '{mvn-settings}'
-        settings-type: cfp
-        global-settings: 'odl-global-settings'
-        global-settings-type: cfp
-        post-step-run-condition: UNSTABLE
+      maven-name: 'mvn33'
+      goals: >
+          {mvn-goals}
+          -V -B
+          -Djenkins
+          -Dmerge
+          -Dstream={stream}
+          -Dmaven.repo.local=/tmp/r
+          -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+      maven-opts: '{mvn-opts}'
+      settings: '{mvn-settings}'
+      settings-type: cfp
+      global-settings: 'odl-global-settings'
+      global-settings-type: cfp
+      post-step-run-condition: UNSTABLE
 
     postbuilders:
-        - conditional-step:
-            condition-kind: file-exists
-            condition-filename: deploy-site.xml
-            condition-basedir: workspace
-
-            # The strategy here is intentional to run Maven site:deploy twice
-            # once using regular pom.xml to produce a staged-site which is
-            # then used by deploy-site.xml to push to Nexus. This is a
-            # workaround to Maven Site's default linking code which creates
-            # incorrect URLs for sites due to auto-detection assuming your
-            # project is configured in a certain way which ODL is not.
-            steps:
+      - conditional-step:
+          condition-kind: file-exists
+          condition-filename: deploy-site.xml
+          condition-basedir: workspace
+
+          # The strategy here is intentional to run Maven site:deploy twice
+          # once using regular pom.xml to produce a staged-site which is
+          # then used by deploy-site.xml to push to Nexus. This is a
+          # workaround to Maven Site's default linking code which creates
+          # incorrect URLs for sites due to auto-detection assuming your
+          # project is configured in a certain way which ODL is not.
+          steps:
             - maven-target:
                 maven-version: 'mvn33'
                 pom: pom.xml
                 goals: 'site:deploy -V -B -Dstream={stream}'
                 java-opts:
-                    - '-Xmx2g'
+                  - '-Xmx2g'
                 settings: '{mvn-settings}'
                 settings-type: cfp
                 global-settings: 'odl-global-settings'
                 pom: deploy-site.xml
                 goals: 'site:deploy -V -B -Dstream={stream}'
                 java-opts:
-                    - '-Xmx2g'
+                  - '-Xmx2g'
                 settings: '{mvn-settings}'
                 settings-type: cfp
                 global-settings: 'odl-global-settings'
                 global-settings-type: cfp
 
     reporters:
-        - findbugs
+      - findbugs
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project-name}]'
-        - maven-deploy:
-            id: ''
-            unique-version: true
-            deploy-unstable: false
-        - jacoco-report
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
-        - trigger:
-            project: 'distribution-merge-{stream}'
-            threshold: SUCCESS
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project-name}]'
+      - maven-deploy:
+          id: ''
+          unique-version: true
+          deploy-unstable: false
+      - jacoco-report
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
+      - trigger:
+          project: 'distribution-merge-{stream}'
+          threshold: SUCCESS
 
 - job-template:
     name: '{project-name}-sonar'
     jdk: 'openjdk8'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: 7
+      - opendaylight-infra-properties:
+          build-days-to-keep: 7
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
 
     scm:
-        - git-scm:
-            refspec: ''
-            branch: 'master'
+      - git-scm:
+          refspec: ''
+          branch: 'master'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - timed: 'H H * * 6'
-        - gerrit-trigger-patch-sonar:
-            server-name: '{server-name}'
-            name: '{project}'
-            # FIXME: Make sure this does not alter Gerrit votes, then update docs.
+      - timed: 'H H * * 6'
+      - gerrit-trigger-patch-sonar:
+          server-name: '{server-name}'
+          name: '{project}'
+          # FIXME: Make sure this does not alter Gerrit votes, then update docs.
 
     builders:
-        - jacoco-nojava-workaround
-        - provide-maven-settings:
-            global-settings-file: 'odl-global-settings'
-            settings-file: '{mvn-settings}'
-        - maven-target:
-            maven-version: 'mvn33'
-            goals: '{mvn-goals} -V -B -Djenkins -Dsonar -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
-            maven-opts:
-              - '{mvn-opts}'
-            settings: '{mvn-settings}'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
-        - maven-target:
-            maven-version: 'mvn33'
-            # We should switch to the recommended configuration of sonar once
-            # JJB adds support for configurating the Sonar wrapper:
-            #    http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins
-            goals: 'sonar:sonar -V -B -Djenkins -Dsonar -Dsonar.host.url=https://sonar.opendaylight.org -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
-            maven-opts:
-              - '{mvn-opts}'
-            settings: '{mvn-settings}'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
+      - jacoco-nojava-workaround
+      - provide-maven-settings:
+          global-settings-file: 'odl-global-settings'
+          settings-file: '{mvn-settings}'
+      - maven-target:
+          maven-version: 'mvn33'
+          goals: >
+              {mvn-goals}
+              -V -B
+              -Djenkins
+              -Dsonar
+              -Dmaven.repo.local=/tmp/r
+              -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+          maven-opts:
+            - '{mvn-opts}'
+          settings: '{mvn-settings}'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
+      - maven-target:
+          maven-version: 'mvn33'
+          # We should switch to the recommended configuration of sonar once
+          # JJB adds support for configurating the Sonar wrapper:
+          #    http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins
+          goals: >
+              sonar:sonar
+              -V -B -Djenkins
+              -Dsonar
+              -Dsonar.host.url=https://sonar.opendaylight.org
+              -Dmaven.repo.local=/tmp/r
+              -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+          maven-opts:
+            - '{mvn-opts}'
+          settings: '{mvn-settings}'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project-name}]'
-        - jacoco-report
-        - findbugs
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project-name}]'
+      - jacoco-report
+      - findbugs
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 - job-template:
     name: '{project-name}-validate-autorelease-{stream}'
     jdk: '{jdk}'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: 7
+      - opendaylight-infra-properties:
+          build-days-to-keep: 7
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
-        - autorelease-release-tag:
-            release-tag: 'validate'
-        - autorelease-release-branch:
-            release-branch: '{branch}'
-        - string:
-            name: CLONE_URL
-            default: '{git-url}/releng/autorelease'
-            description: "Autorelease clone URL"
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - autorelease-release-tag:
+          release-tag: 'validate'
+      - autorelease-release-branch:
+          release-branch: '{branch}'
+      - string:
+          name: CLONE_URL
+          default: '{git-url}/releng/autorelease'
+          description: "Autorelease clone URL"
 
     scm:
-        - git:
-            url: '$CLONE_URL'
-            credentials-id: 'opendaylight-jenkins-ssh'
-            refspec: ''
-            branches:
-                - 'origin/{branch}'
-            skip-tag: true
-            submodule:
-                recursive: true
-                timeout: 60
+      - git:
+          url: '$CLONE_URL'
+          credentials-id: 'opendaylight-jenkins-ssh'
+          refspec: ''
+          branches:
+            - 'origin/{branch}'
+          skip-tag: true
+          submodule:
+            recursive: true
+            timeout: 60
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - gerrit-trigger-patch-submitted:
-            server: '{server-name}'
-            project: '{project}'
-            branch: '{branch}'
-            files: '**/*.xml'
+      - gerrit-trigger-patch-submitted:
+          server: '{server-name}'
+          project: '{project}'
+          branch: '{branch}'
+          files: '**/*.xml'
 
     builders:
-        - jacoco-nojava-workaround
-        - autorelease-checkout-gerrit-patch
-        - autorelease-generate-release-patches
-        # In a perfect world projects should be releasing separately and we consume them
-        # via a project that pulls the release bits from each project from Nexus.
-        # Keep the patches compatible with that ideal, but apply an edit
-        # to enable building in a single maven reactor afterwards.
-        - autorelease-fix-relative-paths
-        - maven-target:
-            maven-version: 'mvn33'
-            pom: validate-pom.xml
-            goals: 'clean install dependency:tree -V -B -T1.5C -Pq -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
-            java-opts:
-              - '-Xmx8g'
-            settings: 'autorelease-settings'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
-        - maven-target:
-            maven-version: 'mvn33'
-            pom: 'pom.xml'
-            goals: 'clean validate -V -B -Pq -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
-            java-opts:
-              - '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
-            settings: 'autorelease-settings'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
-        - autorelease-sys-stats
+      - jacoco-nojava-workaround
+      - autorelease-checkout-gerrit-patch
+      - autorelease-generate-release-patches
+      # In a perfect world projects should be releasing separately and we consume them
+      # via a project that pulls the release bits from each project from Nexus.
+      # Keep the patches compatible with that ideal, but apply an edit
+      # to enable building in a single maven reactor afterwards.
+      - autorelease-fix-relative-paths
+      - maven-target:
+          maven-version: 'mvn33'
+          pom: validate-pom.xml
+          goals: >
+              clean install dependency:tree
+              -V -B -T1.5C -Pq
+              -Djenkins
+              -Dmaven.repo.local=/tmp/r
+              -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+          java-opts:
+            - '-Xmx8g'
+          settings: 'autorelease-settings'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
+      - maven-target:
+          maven-version: 'mvn33'
+          pom: 'pom.xml'
+          goals: >
+              clean validate
+              -V -B -Pq
+              -Djenkins
+              -Dmaven.repo.local=/tmp/r
+              -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+          java-opts:
+            - '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+          settings: 'autorelease-settings'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
+      - autorelease-sys-stats
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[autorelease] [{project-name}]'
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[autorelease] [{project-name}]'
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 - job-template:
     name: '{project-name}-verify-{stream}-{maven}-{jdks}'
     jdk: '{jdks}'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: 7
+      - opendaylight-infra-properties:
+          build-days-to-keep: 7
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
 
     scm:
-        - gerrit-trigger-scm:
-            refspec: '$GERRIT_REFSPEC'
-            choosing-strategy: 'gerrit'
+      - gerrit-trigger-scm:
+          refspec: '$GERRIT_REFSPEC'
+          choosing-strategy: 'gerrit'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - gerrit-trigger-patch-submitted:
-            server: '{server-name}'
-            project: '{project}'
-            branch: '{branch}'
-            files: '**'
+      - gerrit-trigger-patch-submitted:
+          server: '{server-name}'
+          project: '{project}'
+          branch: '{branch}'
+          files: '**'
 
     builders:
-        - jacoco-nojava-workaround
-        - provide-maven-settings:
-            global-settings-file: 'odl-global-settings'
-            settings-file: '{mvn-settings}'
-        - maven-target:
-            maven-version: '{mvn-version}'
-            goals: '{mvn-goals} -V -B -Djenkins -Dstream={stream} -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
-            java-opts:
-                - '{mvn-opts}'
-            settings: '{mvn-settings}'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
+      - jacoco-nojava-workaround
+      - provide-maven-settings:
+          global-settings-file: 'odl-global-settings'
+          settings-file: '{mvn-settings}'
+      - maven-target:
+          maven-version: '{mvn-version}'
+          goals: >
+              {mvn-goals} -V -B
+              -Djenkins
+              -Dstream={stream}
+              -Dmaven.repo.local=/tmp/r
+              -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+          java-opts:
+            - '{mvn-opts}'
+          settings: '{mvn-settings}'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
 
     publishers:
-        - findbugs
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project-name}]'
-        - jacoco-report
-        - opendaylight-infra-shiplogs:
-            maven-version: '{mvn-version}'
+      - findbugs
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project-name}]'
+      - jacoco-report
+      - opendaylight-infra-shiplogs:
+          maven-version: '{mvn-version}'
index bd9be9725c8addc1a38f0cc0482a3b6c5877861d..bf37c7572e7e3d7203c87b5f749426358e32dced 100644 (file)
@@ -1,3 +1,4 @@
+---
 - job-template:
     name: '{project-name}-release-java'
 
     jdk: '{jdk}'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: 30
+      - opendaylight-infra-properties:
+          build-days-to-keep: 30
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
-        - build-tag
-        - stage-id-parameter:
-            stage-id: '{stage-id}'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - build-tag
+      - stage-id-parameter:
+          stage-id: '{stage-id}'
 
     scm:
-        - git:
-            credentials-id: 'opendaylight-jenkins-ssh'
-            url: '$GIT_BASE'
-            branches:
-                - '$BUILD_TAG'
-            skip-tag: true
-            shallow-clone: true
-            wipe-workspace: true
+      - git:
+          credentials-id: 'opendaylight-jenkins-ssh'
+          url: '$GIT_BASE'
+          branches:
+            - '$BUILD_TAG'
+          skip-tag: true
+          shallow-clone: true
+          wipe-workspace: true
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     builders:
-        - wipe-org-opendaylight-repo
-        - jacoco-nojava-workaround
-        - provide-maven-settings:
-            global-settings-file: 'odl-global-settings'
-            settings-file: 'autorelease-settings'
-        - maven-target:
-            maven-version: 'mvn33'
-            pom: 'pom.xml'
-            goals: 'clean deploy -V -B -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage'
-            java-opts:
-              - '-Xmx1024m -XX:MaxPermSize=256m'
-            settings: 'autorelease-settings'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
-        - releng-stage-release
+      - wipe-org-opendaylight-repo
+      - jacoco-nojava-workaround
+      - provide-maven-settings:
+          global-settings-file: 'odl-global-settings'
+          settings-file: 'autorelease-settings'
+      - maven-target:
+          maven-version: 'mvn33'
+          pom: 'pom.xml'
+          goals: >
+              clean deploy -V -B
+              -Dmaven.repo.local=/tmp/r
+              -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
+              -Djenkins
+              -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage
+          java-opts:
+            - '-Xmx1024m -XX:MaxPermSize=256m'
+          settings: 'autorelease-settings'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
+      - releng-stage-release
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[releng]'
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[releng]'
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 
 - job-template:
     jdk: '{jdk}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
-        - p2zip-parameter
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - p2zip-parameter
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     builders:
-        - wipe-org-opendaylight-repo
-        - jacoco-nojava-workaround
-        - releng-fetch-p2zip-if-necessary:
-            maven-version: 'mvn33'
-            settings: '{mvn-settings}'
-            global-settings: 'odl-global-settings'
-        - releng-generate-p2pom
-        - maven-target:
-            maven-version: 'mvn33'
-            pom: 'pom.xml'
-            goals: 'clean deploy -V -B -Dmaven.repo.local=/tmp/r'
-            settings: '{mvn-settings}'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
-        - releng-update-p2composite-metadata:
-            maven-version: 'mvn33'
-            settings: '{mvn-settings}'
-            global-settings: 'odl-global-settings'
+      - wipe-org-opendaylight-repo
+      - jacoco-nojava-workaround
+      - releng-fetch-p2zip-if-necessary:
+          maven-version: 'mvn33'
+          settings: '{mvn-settings}'
+          global-settings: 'odl-global-settings'
+      - releng-generate-p2pom
+      - maven-target:
+          maven-version: 'mvn33'
+          pom: 'pom.xml'
+          goals: 'clean deploy -V -B -Dmaven.repo.local=/tmp/r'
+          settings: '{mvn-settings}'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
+      - releng-update-p2composite-metadata:
+          maven-version: 'mvn33'
+          settings: '{mvn-settings}'
+          global-settings: 'odl-global-settings'
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[releng]'
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[releng]'
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 # Generic tox-based verify action
 
     concurrent: true
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: 7
+      - opendaylight-infra-properties:
+          build-days-to-keep: 7
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
 
     scm:
-        - git:
-            credentials-id: 'opendaylight-jenkins-ssh'
-            url: '$GIT_BASE'
-            basedir: 'repo'
-            refspec: '$GERRIT_REFSPEC'
-            branches:
-                - 'origin/$GERRIT_BRANCH'
-            skip-tag: true
-            choosing-strategy: 'gerrit'
+      - git:
+          credentials-id: 'opendaylight-jenkins-ssh'
+          url: '$GIT_BASE'
+          basedir: 'repo'
+          refspec: '$GERRIT_REFSPEC'
+          branches:
+            - 'origin/$GERRIT_BRANCH'
+          skip-tag: true
+          choosing-strategy: 'gerrit'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - gerrit-trigger-patch-submitted:
-            server: '{server-name}'
-            project: '{project}'
-            branch: '{branch}'
-            files: '{toxdir}/**'
+      - gerrit-trigger-patch-submitted:
+          server: '{server-name}'
+          project: '{project}'
+          branch: '{branch}'
+          files: '{toxdir}/**'
 
     builders:
-        - shell: |
-            virtualenv $WORKSPACE/venv-tox
-            source $WORKSPACE/venv-tox/bin/activate
-            pip install --upgrade pip
-            pip install --upgrade tox argparse
-            pip freeze
-            cd $WORKSPACE/repo/{toxdir}
-            tox
+      - shell: |
+          virtualenv $WORKSPACE/venv-tox
+          source $WORKSPACE/venv-tox/bin/activate
+          pip install --upgrade pip
+          pip install --upgrade tox argparse
+          pip freeze
+          cd $WORKSPACE/repo/{toxdir}
+          tox
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project}]'
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project}]'
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 - job-template:
     name: '{project-name}-verify-tox-{stream}'
     concurrent: false
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - gerrit-trigger-patch-merged:
-            server-name: '{server-name}'
-            name: '{project}'
-            branch: '{branch}'
+      - gerrit-trigger-patch-merged:
+          server-name: '{server-name}'
+          name: '{project}'
+          branch: '{branch}'
 
     builders:
-        - shell: |
-            curl -X POST https://readthedocs.org/build/{rtdproject}
+      - shell: |
+          curl -X POST https://readthedocs.org/build/{rtdproject}
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project}]'
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project}]'
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 # Node related
 
     concurrent: true
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: 7
+      - opendaylight-infra-properties:
+          build-days-to-keep: 7
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
 
     scm:
-        - git:
-            credentials-id: 'opendaylight-jenkins-ssh'
-            url: '$GIT_BASE'
-            basedir: 'repo'
-            refspec: '$GERRIT_REFSPEC'
-            branches:
-                - 'origin/$GERRIT_BRANCH'
-            skip-tag: true
-            choosing-strategy: 'gerrit'
+      - git:
+          credentials-id: 'opendaylight-jenkins-ssh'
+          url: '$GIT_BASE'
+          basedir: 'repo'
+          refspec: '$GERRIT_REFSPEC'
+          branches:
+            - 'origin/$GERRIT_BRANCH'
+          skip-tag: true
+          choosing-strategy: 'gerrit'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - gerrit-trigger-patch-submitted:
-            server: '{server-name}'
-            project: '{project}'
-            branch: '{branch}'
-            files: '{nodedir}/**'
+      - gerrit-trigger-patch-submitted:
+          server: '{server-name}'
+          project: '{project}'
+          branch: '{branch}'
+          files: '{nodedir}/**'
 
     builders:
-        - shell: |
-            #!/bin/bash
-            # Prepare Python
-            virtualenv $WORKSPACE/venv-python
-            source $WORKSPACE/venv-python/bin/activate
-            pip install --upgrade pip
-            pip install --upgrade tox argparse nodeenv
-            pip freeze
-
-            # Prepare node
-            nodeenv --node={nodever} --prebuilt $WORKSPACE/venv-node
-            source $WORKSPACE/venv-node/bin/activate
-            cd $WORKSPACE/repo/{nodedir}
-            npm install
-            npm test
+      - shell: |
+          #!/bin/bash
+          # Prepare Python
+          virtualenv $WORKSPACE/venv-python
+          source $WORKSPACE/venv-python/bin/activate
+          pip install --upgrade pip
+          pip install --upgrade tox argparse nodeenv
+          pip freeze
+
+          # Prepare node
+          nodeenv --node={nodever} --prebuilt $WORKSPACE/venv-node
+          source $WORKSPACE/venv-node/bin/activate
+          cd $WORKSPACE/repo/{nodedir}
+          npm install
+          npm test
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[{project}]'
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project}]'
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
index 29e83fe765dfc8966465772fcb1324a897d81b2d..33e543297ecf2f5d561b05e4bb3de0589e86024f 100644 (file)
@@ -1,10 +1,11 @@
+---
 - project:
     name: tcpmd5-carbon
     jobs:
-        - '{project-name}-clm-{stream}'
-        - '{project-name}-integration-{stream}'
-        - '{project-name}-merge-{stream}'
-        - '{project-name}-verify-{stream}-{maven}-{jdks}'
+      - '{project-name}-clm-{stream}'
+      - '{project-name}-integration-{stream}'
+      - '{project-name}-merge-{stream}'
+      - '{project-name}-verify-{stream}-{maven}-{jdks}'
 
     stream: carbon
     project: 'tcpmd5'
     branch: 'master'
     jdk: openjdk8
     jdks:
-        - openjdk8
+      - openjdk8
 
     maven:
-        - mvn33:
-            mvn-version: 'mvn33'
+      - mvn33:
+          mvn-version: 'mvn33'
     mvn-settings: 'tcpmd5-settings'
     mvn-goals: 'clean -DrepoBuild install javadoc:aggregate'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 - project:
     name: tcpmd5-boron
     jobs:
-        - '{project-name}-clm-{stream}'
-        - '{project-name}-integration-{stream}'
-        - '{project-name}-merge-{stream}'
-        - '{project-name}-verify-{stream}-{maven}-{jdks}'
+      - '{project-name}-clm-{stream}'
+      - '{project-name}-integration-{stream}'
+      - '{project-name}-merge-{stream}'
+      - '{project-name}-verify-{stream}-{maven}-{jdks}'
 
     stream: boron
     project: 'tcpmd5'
     branch: 'stable/boron'
     jdk: openjdk8
     jdks:
-        - openjdk8
+      - openjdk8
 
     maven:
-        - mvn33:
-            mvn-version: 'mvn33'
+      - mvn33:
+          mvn-version: 'mvn33'
     mvn-settings: 'tcpmd5-settings'
     mvn-goals: 'clean -DrepoBuild install javadoc:aggregate'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 - project:
     name: tcpmd5-beryllium
     jobs:
-        - '{project-name}-clm-{stream}'
-        - '{project-name}-distribution-check-{stream}'
-        - '{project-name}-integration-{stream}'
-        - '{project-name}-merge-{stream}'
-        - '{project-name}-validate-autorelease-{stream}'
-        - '{project-name}-verify-{stream}-{maven}-{jdks}'
+      - '{project-name}-clm-{stream}'
+      - '{project-name}-distribution-check-{stream}'
+      - '{project-name}-integration-{stream}'
+      - '{project-name}-merge-{stream}'
+      - '{project-name}-validate-autorelease-{stream}'
+      - '{project-name}-verify-{stream}-{maven}-{jdks}'
 
     stream: beryllium
     project: 'tcpmd5'
     branch: 'stable/beryllium'
     jdk: openjdk7
     jdks:
-        - openjdk7
-        - openjdk8
+      - openjdk7
+      - openjdk8
     maven:
-        - mvn33:
-            mvn-version: 'mvn33'
+      - mvn33:
+          mvn-version: 'mvn33'
     mvn-settings: 'tcpmd5-settings'
     mvn-goals: 'clean -DrepoBuild install javadoc:aggregate'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
@@ -81,7 +82,7 @@
 - project:
     name: tcpmd5-sonar
     jobs:
-        - '{project-name}-sonar'
+      - '{project-name}-sonar'
     project: 'tcpmd5'
     project-name: 'tcpmd5'
     branch: 'master'
index 52081aaab7919d4a73ad94382af022f0ff4b1dff..e93045fcee340ae5d41901871042e2b3b6c1b394 100644 (file)
@@ -1,8 +1,9 @@
+---
 - project:
     name: topoprocessing-csit-topology-operations
     jobs:
-        - '{project}-csit-1node-{functionality}-{install}-{stream}'
-        - '{project}-csit-verify-1node-{functionality}'
+      - '{project}-csit-1node-{functionality}-{install}-{stream}'
+      - '{project}-csit-verify-1node-{functionality}'
 
     # The project name
     project: 'topoprocessing'
 
     # Project branches
     stream:
-        - carbon:
-            branch: 'master'
-            jre: 'openjdk8'
-        - boron:
-            branch: 'stable/boron'
-            jre: 'openjdk8'
-        - beryllium:
-            branch: 'stable/beryllium'
-            jre: 'openjdk7'
+      - carbon:
+          branch: 'master'
+          jre: 'openjdk8'
+      - boron:
+          branch: 'stable/boron'
+          jre: 'openjdk8'
+      - beryllium:
+          branch: 'stable/beryllium'
+          jre: 'openjdk7'
 
     install:
-        - only:
-            scope: 'only'
-        - all:
-            scope: 'all'
+      - only:
+          scope: 'only'
+      - all:
+          scope: 'all'
 
     # Features to install
     install-features: 'odl-restconf'
index 80e34c6e638a9e3e5346b7ffe902423ed64d6d0b..9177b5289a20f475d2685b455d33f63886e7f525 100644 (file)
@@ -1,12 +1,13 @@
+---
 - project:
     name: topoprocessing-carbon
     jobs:
-        - '{project-name}-clm-{stream}'
-        - '{project-name}-distribution-check-{stream}'
-        - '{project-name}-integration-{stream}'
-        - '{project-name}-merge-{stream}'
-        - '{project-name}-validate-autorelease-{stream}'
-        - '{project-name}-verify-{stream}-{maven}-{jdks}'
+      - '{project-name}-clm-{stream}'
+      - '{project-name}-distribution-check-{stream}'
+      - '{project-name}-integration-{stream}'
+      - '{project-name}-merge-{stream}'
+      - '{project-name}-validate-autorelease-{stream}'
+      - '{project-name}-verify-{stream}-{maven}-{jdks}'
 
     stream: carbon
     project: 'topoprocessing'
     branch: 'master'
     jdk: openjdk8
     jdks:
-        - openjdk8
+      - openjdk8
     maven:
-        - mvn33:
-            mvn-version: 'mvn33'
+      - mvn33:
+          mvn-version: 'mvn33'
     mvn-settings: 'topoprocessing-settings'
     mvn-goals: 'clean install'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 - project:
     name: topoprocessing-boron
     jobs:
-        - '{project-name}-clm-{stream}'
-        - '{project-name}-distribution-check-{stream}'
-        - '{project-name}-integration-{stream}'
-        - '{project-name}-merge-{stream}'
-        - '{project-name}-validate-autorelease-{stream}'
-        - '{project-name}-verify-{stream}-{maven}-{jdks}'
+      - '{project-name}-clm-{stream}'
+      - '{project-name}-distribution-check-{stream}'
+      - '{project-name}-integration-{stream}'
+      - '{project-name}-merge-{stream}'
+      - '{project-name}-validate-autorelease-{stream}'
+      - '{project-name}-verify-{stream}-{maven}-{jdks}'
 
     stream: boron
     project: 'topoprocessing'
     branch: 'stable/boron'
     jdk: openjdk8
     jdks:
-        - openjdk8
+      - openjdk8
     maven:
-        - mvn33:
-            mvn-version: 'mvn33'
+      - mvn33:
+          mvn-version: 'mvn33'
     mvn-settings: 'topoprocessing-settings'
     mvn-goals: 'clean install'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 - project:
     name: topoprocessing-beryllium
     jobs:
-        - '{project-name}-clm-{stream}'
-        - '{project-name}-distribution-check-{stream}'
-        - '{project-name}-integration-{stream}'
-        - '{project-name}-merge-{stream}'
-        - '{project-name}-validate-autorelease-{stream}'
-        - '{project-name}-verify-{stream}-{maven}-{jdks}'
+      - '{project-name}-clm-{stream}'
+      - '{project-name}-distribution-check-{stream}'
+      - '{project-name}-integration-{stream}'
+      - '{project-name}-merge-{stream}'
+      - '{project-name}-validate-autorelease-{stream}'
+      - '{project-name}-verify-{stream}-{maven}-{jdks}'
 
     stream: beryllium
     project: 'topoprocessing'
     branch: 'stable/beryllium'
     jdk: openjdk7
     jdks:
-        - openjdk7
-        - openjdk8
+      - openjdk7
+      - openjdk8
     maven:
-        - mvn33:
-            mvn-version: 'mvn33'
+      - mvn33:
+          mvn-version: 'mvn33'
     mvn-settings: 'topoprocessing-settings'
     mvn-goals: 'clean install'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 - project:
     name: topoprocessing-sonar
     jobs:
-        - '{project-name}-sonar'
+      - '{project-name}-sonar'
     project: 'topoprocessing'
     project-name: 'topoprocessing'
     branch: 'master'
     maven:
-        - mvn33:
-            mvn-version: 'mvn33'
+      - mvn33:
+          mvn-version: 'mvn33'
     mvn-settings: 'topoprocessing-settings'
     mvn-goals: 'clean install'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
index c710d3c2a802169c493b636129f284cc4eb2f77b..52502dc9b5808c4451d548094ad953ddc4cd18e2 100644 (file)
@@ -1,10 +1,11 @@
+---
 - project:
     name: transportpce-carbon
     jobs:
-        - '{project-name}-clm-{stream}'
-        - '{project-name}-integration-{stream}'
-        - '{project-name}-merge-{stream}'
-        - '{project-name}-verify-{stream}-{maven}-{jdks}'
+      - '{project-name}-clm-{stream}'
+      - '{project-name}-integration-{stream}'
+      - '{project-name}-merge-{stream}'
+      - '{project-name}-verify-{stream}-{maven}-{jdks}'
 
     project: 'transportpce'
     project-name: 'transportpce'
     branch: 'master'
     jdk: openjdk8
     jdks:
-        - openjdk8
+      - openjdk8
     maven:
-        - mvn33:
-            mvn-version: 'mvn33'
+      - mvn33:
+          mvn-version: 'mvn33'
     mvn-settings: 'transportpce-settings'
     mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
@@ -26,7 +27,7 @@
 - project:
     name: transportpce-sonar
     jobs:
-        - '{project-name}-sonar'
+      - '{project-name}-sonar'
 
     project: 'transportpce'
     project-name: 'transportpce'
index 31b3eadafc29c56567ef19bf28f2ce78bedb44f0..f9b18a572271e7ace5c5902a1bbe2ffaee807bd5 100644 (file)
@@ -1,8 +1,9 @@
+---
 - project:
     name: tsdr-csit-cassandra
     jobs:
-        - '{project}-csit-1node-{functionality}-{install}-{stream}'
-        - '{project}-csit-verify-1node-{functionality}'
+      - '{project}-csit-1node-{functionality}-{install}-{stream}'
+      - '{project}-csit-verify-1node-{functionality}'
 
     # The project name
     project: 'tsdr'
 
     # Project branches
     stream:
-        - carbon:
-            branch: 'master'
-            jre: 'openjdk8'
-        - boron:
-            branch: 'stable/boron'
-            jre: 'openjdk8'
-        - beryllium:
-            branch: 'stable/beryllium'
-            jre: 'openjdk7'
+      - carbon:
+          branch: 'master'
+          jre: 'openjdk8'
+      - boron:
+          branch: 'stable/boron'
+          jre: 'openjdk8'
+      - beryllium:
+          branch: 'stable/beryllium'
+          jre: 'openjdk7'
 
     install:
-        - only:
-            scope: 'only'
+      - only:
+          scope: 'only'
 
     # Features to install
-    install-features: 'odl-restconf,odl-tsdr-cassandra,odl-tsdr-openflow-statistics-collector,odl-tsdr-netflow-statistics-collector,odl-tsdr-syslog-collector'
+    install-features: >
+        odl-restconf,
+        odl-tsdr-cassandra,
+        odl-tsdr-openflow-statistics-collector,
+        odl-tsdr-netflow-statistics-collector,
+        odl-tsdr-syslog-collector
 
     # Robot custom options
     robot-options: ''
index a08d5d29df8ccb6df967dbcf34774b7b78523ebd..c3520844876e364bc53327c16483422c9bdc4644 100644 (file)
@@ -1,8 +1,9 @@
+---
 - project:
     name: tsdr-csit-hbase
     jobs:
-        - '{project}-csit-1node-{functionality}-{install}-{stream}'
-        - '{project}-csit-verify-1node-{functionality}'
+      - '{project}-csit-1node-{functionality}-{install}-{stream}'
+      - '{project}-csit-verify-1node-{functionality}'
 
     # The project name
     project: 'tsdr'
 
     # Project branches
     stream:
-        - carbon:
-            branch: 'master'
-            jre: 'openjdk8'
-        - boron:
-            branch: 'stable/boron'
-            jre: 'openjdk8'
-        - beryllium:
-            branch: 'stable/beryllium'
-            jre: 'openjdk7'
+      - carbon:
+          branch: 'master'
+          jre: 'openjdk8'
+      - boron:
+          branch: 'stable/boron'
+          jre: 'openjdk8'
+      - beryllium:
+          branch: 'stable/beryllium'
+          jre: 'openjdk7'
 
     install:
-        - only:
-            scope: 'only'
-        - all:
-            scope: 'all'
+      - only:
+          scope: 'only'
+      - all:
+          scope: 'all'
 
     # Features to install
-    install-features: 'odl-restconf,odl-tsdr-hbase,odl-tsdr-openflow-statistics-collector,odl-tsdr-netflow-statistics-collector,odl-tsdr-syslog-collector'
+    install-features: >
+        odl-restconf,
+        odl-tsdr-hbase,
+        odl-tsdr-openflow-statistics-collector,
+        odl-tsdr-netflow-statistics-collector,
+        odl-tsdr-syslog-collector
 
     # Robot custom options
     robot-options: ''
index 8685354198d87c411c4f10ba99d47ee8d677345f..d34fb0494671617fa799c361f8575b286e3175a2 100644 (file)
@@ -1,8 +1,9 @@
+---
 - project:
     name: tsdr-csit-hsqldb
     jobs:
-        - '{project}-csit-1node-{functionality}-{install}-{stream}'
-        - '{project}-csit-verify-1node-{functionality}'
+      - '{project}-csit-1node-{functionality}-{install}-{stream}'
+      - '{project}-csit-verify-1node-{functionality}'
 
     # The project name
     project: 'tsdr'
 
     # Project branches
     stream:
-        - carbon:
-            branch: 'master'
-            jre: 'openjdk8'
-        - boron:
-            branch: 'stable/boron'
-            jre: 'openjdk8'
-        - beryllium:
-            branch: 'stable/beryllium'
-            jre: 'openjdk7'
+      - carbon:
+          branch: 'master'
+          jre: 'openjdk8'
+      - boron:
+          branch: 'stable/boron'
+          jre: 'openjdk8'
+      - beryllium:
+          branch: 'stable/beryllium'
+          jre: 'openjdk7'
 
     install:
-        - only:
-            scope: 'only'
-        - all:
-            scope: 'all'
+      - only:
+          scope: 'only'
+      - all:
+          scope: 'all'
 
     # Features to install
-    install-features: 'odl-restconf,odl-tsdr-hsqldb,odl-tsdr-openflow-statistics-collector,odl-tsdr-netflow-statistics-collector,odl-tsdr-syslog-collector'
+    install-features: >
+        odl-restconf,
+        odl-tsdr-hsqldb,
+        odl-tsdr-openflow-statistics-collector,
+        odl-tsdr-netflow-statistics-collector,
+        odl-tsdr-syslog-collector
 
     # Robot custom options
     robot-options: ''
index cc1b1a4118fe645d62ccde888f1d04c7bec12600..095d98438d73b311624dc4bc798ac4f25e267ef8 100644 (file)
@@ -1,12 +1,13 @@
+---
 - project:
     name: tsdr-carbon
     jobs:
-        - '{project-name}-clm-{stream}'
-        - '{project-name}-distribution-check-{stream}'
-        - '{project-name}-integration-{stream}'
-        - '{project-name}-merge-{stream}'
-        - '{project-name}-validate-autorelease-{stream}'
-        - '{project-name}-verify-{stream}-{maven}-{jdks}'
+      - '{project-name}-clm-{stream}'
+      - '{project-name}-distribution-check-{stream}'
+      - '{project-name}-integration-{stream}'
+      - '{project-name}-merge-{stream}'
+      - '{project-name}-validate-autorelease-{stream}'
+      - '{project-name}-verify-{stream}-{maven}-{jdks}'
 
     stream: carbon
     project: 'tsdr'
     branch: 'master'
     jdk: openjdk8
     jdks:
-        - openjdk8
+      - openjdk8
     maven:
-        - mvn33:
-            mvn-version: 'mvn33'
+      - mvn33:
+          mvn-version: 'mvn33'
     mvn-settings: 'tsdr-settings'
     mvn-goals: 'clean install javadoc:aggregate -DrepoBuild'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 - project:
     name: tsdr-boron
     jobs:
-        - '{project-name}-clm-{stream}'
-        - '{project-name}-distribution-check-{stream}'
-        - '{project-name}-integration-{stream}'
-        - '{project-name}-merge-{stream}'
-        - '{project-name}-validate-autorelease-{stream}'
-        - '{project-name}-verify-{stream}-{maven}-{jdks}'
+      - '{project-name}-clm-{stream}'
+      - '{project-name}-distribution-check-{stream}'
+      - '{project-name}-integration-{stream}'
+      - '{project-name}-merge-{stream}'
+      - '{project-name}-validate-autorelease-{stream}'
+      - '{project-name}-verify-{stream}-{maven}-{jdks}'
 
     stream: boron
     project: 'tsdr'
     branch: 'stable/boron'
     jdk: openjdk8
     jdks:
-        - openjdk8
+      - openjdk8
     maven:
-        - mvn33:
-            mvn-version: 'mvn33'
+      - mvn33:
+          mvn-version: 'mvn33'
     mvn-settings: 'tsdr-settings'
     mvn-goals: 'clean install javadoc:aggregate -DrepoBuild'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 - project:
     name: tsdr-beryllium
     jobs:
-        - '{project-name}-clm-{stream}'
-        - '{project-name}-distribution-check-{stream}'
-        - '{project-name}-integration-{stream}'
-        - '{project-name}-merge-{stream}'
-        - '{project-name}-validate-autorelease-{stream}'
-        - '{project-name}-verify-{stream}-{maven}-{jdks}'
+      - '{project-name}-clm-{stream}'
+      - '{project-name}-distribution-check-{stream}'
+      - '{project-name}-integration-{stream}'
+      - '{project-name}-merge-{stream}'
+      - '{project-name}-validate-autorelease-{stream}'
+      - '{project-name}-verify-{stream}-{maven}-{jdks}'
 
     stream: beryllium
     project: 'tsdr'
     branch: 'stable/beryllium'
     jdk: openjdk7
     jdks:
-        - openjdk7
-        - openjdk8
+      - openjdk7
+      - openjdk8
     maven:
-        - mvn33:
-            mvn-version: 'mvn33'
+      - mvn33:
+          mvn-version: 'mvn33'
     mvn-settings: 'tsdr-settings'
     mvn-goals: 'clean install javadoc:aggregate -DrepoBuild'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
@@ -83,7 +84,7 @@
 - project:
     name: tsdr-sonar
     jobs:
-        - '{project-name}-sonar'
+      - '{project-name}-sonar'
     project: 'tsdr'
     project-name: 'tsdr'
     branch: 'master'
index b7e3f8efc9b316fd8fc861563783bbe4455043d5..26b1598b32ae342e0cde4c38440d542b5648599f 100644 (file)
@@ -1,12 +1,13 @@
+---
 - project:
     name: ttp-carbon
     jobs:
-        - '{project-name}-clm-{stream}'
-        - '{project-name}-distribution-check-{stream}'
-        - '{project-name}-integration-{stream}'
-        - '{project-name}-merge-{stream}'
-        - '{project-name}-validate-autorelease-{stream}'
-        - '{project-name}-verify-{stream}-{maven}-{jdks}'
+      - '{project-name}-clm-{stream}'
+      - '{project-name}-distribution-check-{stream}'
+      - '{project-name}-integration-{stream}'
+      - '{project-name}-merge-{stream}'
+      - '{project-name}-validate-autorelease-{stream}'
+      - '{project-name}-verify-{stream}-{maven}-{jdks}'
 
     stream: carbon
     project: 'ttp'
     branch: 'master'
     jdk: openjdk8
     jdks:
-        - openjdk8
+      - openjdk8
     maven:
-        - mvn33:
-            mvn-version: 'mvn33'
+      - mvn33:
+          mvn-version: 'mvn33'
     mvn-settings: 'ttp-settings'
     mvn-goals: 'clean install'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 - project:
     name: ttp-boron
     jobs:
-        - '{project-name}-clm-{stream}'
-        - '{project-name}-distribution-check-{stream}'
-        - '{project-name}-integration-{stream}'
-        - '{project-name}-merge-{stream}'
-        - '{project-name}-validate-autorelease-{stream}'
-        - '{project-name}-verify-{stream}-{maven}-{jdks}'
+      - '{project-name}-clm-{stream}'
+      - '{project-name}-distribution-check-{stream}'
+      - '{project-name}-integration-{stream}'
+      - '{project-name}-merge-{stream}'
+      - '{project-name}-validate-autorelease-{stream}'
+      - '{project-name}-verify-{stream}-{maven}-{jdks}'
 
     stream: boron
     project: 'ttp'
     branch: 'stable/boron'
     jdk: openjdk8
     jdks:
-        - openjdk8
+      - openjdk8
     maven:
-        - mvn33:
-            mvn-version: 'mvn33'
+      - mvn33:
+          mvn-version: 'mvn33'
     mvn-settings: 'ttp-settings'
     mvn-goals: 'clean install'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 - project:
     name: ttp-beryllium
     jobs:
-        - '{project-name}-clm-{stream}'
-        - '{project-name}-distribution-check-{stream}'
-        - '{project-name}-integration-{stream}'
-        - '{project-name}-merge-{stream}'
-        - '{project-name}-validate-autorelease-{stream}'
-        - '{project-name}-verify-{stream}-{maven}-{jdks}'
+      - '{project-name}-clm-{stream}'
+      - '{project-name}-distribution-check-{stream}'
+      - '{project-name}-integration-{stream}'
+      - '{project-name}-merge-{stream}'
+      - '{project-name}-validate-autorelease-{stream}'
+      - '{project-name}-verify-{stream}-{maven}-{jdks}'
 
     stream: beryllium
     project: 'ttp'
     branch: 'stable/beryllium'
     jdk: openjdk7
     jdks:
-        - openjdk7
-        - openjdk8
+      - openjdk7
+      - openjdk8
     maven:
-        - mvn33:
-            mvn-version: 'mvn33'
+      - mvn33:
+          mvn-version: 'mvn33'
     mvn-settings: 'ttp-settings'
     mvn-goals: 'clean install'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
@@ -83,7 +84,7 @@
 - project:
     name: ttp-sonar
     jobs:
-        - '{project-name}-sonar'
+      - '{project-name}-sonar'
     project: 'ttp'
     project-name: 'ttp'
     branch: 'master'
index b6ba1610f44e1c3da64c7449b4956a2da3d9a44d..f00e35ec690527d816c9beaf1e1b916dfe967459 100644 (file)
 
     # Project branches.
     stream:
+      # The tested component was only introduced in Carbon.
       - carbon:
           branch: 'master'
           jre: 'openjdk8'
-      # The tested component was only introduced in Carbon.
 
     install:
       - only: