Merge "Fix yamllint for yangtools"
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 2 Mar 2017 05:45:50 +0000 (05:45 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 2 Mar 2017 05:45:50 +0000 (05:45 +0000)
15 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-jobs.yaml
jjb/releng-macros.yaml
jjb/releng-templates-java.yaml
tox.ini

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 5c670819831d8f96f6755292ecc7789a62bc7e70..4cf277cec2826fb39ade6733c4f5c5760474936d 100644 (file)
@@ -1,64 +1,68 @@
+---
 - project:
     name: builder-jobs
     jobs:
-        - 'builder-verify-jjb'
-        - 'builder-verify-python'
-        - 'builder-merge'
-        - 'builder-weekly'
-        - 'builder-check-poms'
-        - 'builder-verify-packer'
-        - 'builder-merge-packer-{platforms}-{templates}'
-        # OpenStack Related
-        - 'builder-delete-stale-stacks'
-        # Automation for docs and jobs
-        - 'builder-update-csit-tests'
-        - 'builder-update-image-list'
+      - 'builder-verify-jjb'
+      - '{project-name}-verify-tox-{stream}'
+      - 'builder-merge'
+      - 'builder-weekly'
+      - 'builder-check-poms'
+      - 'builder-verify-packer'
+      - 'builder-merge-packer-{platforms}-{templates}'
+      # OpenStack Related
+      - 'builder-delete-stale-stacks'
+      # Automation for docs and jobs
+      - 'builder-update-csit-tests'
+      - 'builder-update-image-list'
 
     platforms:
-        - centos
-        - ubuntu-14.04
+      - centos
+      - ubuntu-14.04
 
     templates:
-        - devstack
-        - devstack-pre-pip-mitaka
-        - devstack-pre-pip-newton
-        - docker
-        - gbp
-        - java-builder
-        - mininet
-        - mininet-ovs-2.3
-        - mininet-ovs-2.5
-        - robot
+      - devstack
+      - devstack-pre-pip-mitaka
+      - devstack-pre-pip-newton
+      - docker
+      - gbp
+      - java-builder
+      - mininet
+      - mininet-ovs-2.3
+      - mininet-ovs-2.5
+      - robot
 
     exclude:
-        - platforms: centos
-          templates: gbp
-        - platforms: centos
-          templates: mininet
-        - platforms: centos
-          templates: mininet-ovs-2.3
-        - platforms: centos
-          templates: mininet-ovs-2.5
-        - platforms: ubuntu-14.04
-          templates: java-builder
-        - platforms: ubuntu-14.04
-          templates: robot
-        - platforms: ubuntu-14.04
-          templates: devstack-pre-pip-mitaka
-        - platforms: ubuntu-14.04
-          templates: devstack-pre-pip-newton
-        - platforms: ubuntu-14.04
-          templates: devstack
-        - platforms: ubuntu-14.04
-          templates: docker
+      - platforms: centos
+        templates: gbp
+      - platforms: centos
+        templates: mininet
+      - platforms: centos
+        templates: mininet-ovs-2.3
+      - platforms: centos
+        templates: mininet-ovs-2.5
+      - platforms: ubuntu-14.04
+        templates: java-builder
+      - platforms: ubuntu-14.04
+        templates: robot
+      - platforms: ubuntu-14.04
+        templates: devstack-pre-pip-mitaka
+      - platforms: ubuntu-14.04
+        templates: devstack-pre-pip-newton
+      - platforms: ubuntu-14.04
+        templates: devstack
+      - platforms: ubuntu-14.04
+        templates: docker
 
     project-type: freestyle
     archive-artifacts: '**/*.log'
     build-timeout: '60'
-    # The following two values are only specified here
+
+    # The following values are only specified here
     # so that code blocks look similar to other projects.
     project: 'releng/builder'
-    branch: 'master'
+    project-name: builder
+    stream: master
+    branch: master
 
 - job-template:
     name: builder-verify-jjb
     project-type: freestyle
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: 14
-
-    parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
-
-    scm:
-        - gerrit-trigger-scm:
-            refspec: '$GERRIT_REFSPEC'
-            choosing-strategy: 'gerrit'
-
-    wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
-
-    triggers:
-        - gerrit-trigger-patch-submitted:
-            server: '{server-name}'
-            project: '{project}'
-            branch: '{branch}'
-            files: 'jjb/**'
-
-    builders:
-        - opendaylight-infra-jjbini
-        - shell: |
-            virtualenv $WORKSPACE/venv
-            source $WORKSPACE/venv/bin/activate
-            pip install --upgrade pip
-            pip freeze
-            pip install jenkins-job-builder
-            jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
-            gzip archives/job_output/*
-        - releng-check-unicode
-        - verify-gpg-signature
-
-    publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[releng]'
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
-
-# FIXME: Migrate to {project-name}-verify-python-{stream} or delete this entirely,
-#        as there are zero python files (aside docs/conf.py) in releng/builder.
-- job-template:
-    name: builder-verify-python
-    node: centos7-java-builder-2c-4g
-    concurrent: true
-
-    project-type: freestyle
-
-    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: '$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: 'scripts/**'
+      - gerrit-trigger-patch-submitted:
+          server: '{server-name}'
+          project: '{project}'
+          branch: '{branch}'
+          files: 'jjb/**'
 
     builders:
-        - verify-gpg-signature
-        - shell: |
-            virtualenv $WORKSPACE/venv
-            source $WORKSPACE/venv/bin/activate
-            pip install --upgrade pip
-            pip freeze
-            pip install flake8
-            flake8 scripts/
+      - opendaylight-infra-jjbini
+      - shell: |
+          virtualenv $WORKSPACE/venv
+          source $WORKSPACE/venv/bin/activate
+          pip install --upgrade pip
+          pip freeze
+          pip install jenkins-job-builder
+          jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
+          gzip archives/job_output/*
+      - releng-check-unicode
+      - verify-gpg-signature
 
     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:
     name: 'builder-merge'
     project-type: freestyle
 
     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:
-        - gerrit:
-            server-name: '{server-name}'
-            trigger-on:
-                - change-merged-event
-                - comment-added-contains-event:
-                    comment-contains-value: 'remerge'
-            projects:
-              - project-compare-type: 'ANT'
-                project-pattern: 'releng/builder'
-                branches:
-                    - branch-compare-type: 'ANT'
-                      branch-pattern: '**/{branch}'
-                file-paths:
-                    - compare-type: ANT
-                      pattern: jjb/**
+      - gerrit:
+          server-name: '{server-name}'
+          trigger-on:
+            - change-merged-event
+            - comment-added-contains-event:
+                comment-contains-value: 'remerge'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: 'releng/builder'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+              file-paths:
+                - compare-type: ANT
+                  pattern: jjb/**
 
     builders:
-        - opendaylight-infra-jjbini
-        - shell: |
-            virtualenv $WORKSPACE/venv
-            source $WORKSPACE/venv/bin/activate
-            pip install --upgrade pip
-            pip freeze
-            pip install jenkins-job-builder
-            jenkins-jobs --version
-            jenkins-jobs update --recursive --delete-old --workers 4 jjb/
+      - opendaylight-infra-jjbini
+      - shell: |
+          virtualenv $WORKSPACE/venv
+          source $WORKSPACE/venv/bin/activate
+          pip install --upgrade pip
+          pip freeze
+          pip install jenkins-job-builder
+          jenkins-jobs --version
+          jenkins-jobs update --recursive --delete-old --workers 4 jjb/
 
     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:
     name: 'builder-weekly'
     project-type: freestyle
 
     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:
-        - git-scm:
-            branch: '{branch}'
+      - git-scm:
+          branch: '{branch}'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - timed: 'H H * * 0'
+      - timed: 'H H * * 0'
 
     builders:
-        - opendaylight-infra-jjbini
-        - shell: |
-            virtualenv $WORKSPACE/venv
-            source $WORKSPACE/venv/bin/activate
-            pip install --upgrade pip
-            pip freeze
-            pip install jenkins-job-builder
-            jenkins-jobs --flush-cache update --recursive --workers 4 jjb/
+      - opendaylight-infra-jjbini
+      - shell: |
+          virtualenv $WORKSPACE/venv
+          source $WORKSPACE/venv/bin/activate
+          pip install --upgrade pip
+          pip freeze
+          pip install jenkins-job-builder
+          jenkins-jobs --flush-cache update --recursive --workers 4 jjb/
 
     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:
     name: builder-check-poms
     project-type: freestyle
 
     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}'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - timed: 'H H * * 1'
+      - timed: 'H H * * 1'
 
     builders:
-        - shell:
-            !include-raw-escape:
-                - include-raw-check-poms.sh
+      - shell: !include-raw-escape: include-raw-check-poms.sh
 
     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:
     name: 'builder-delete-stale-stacks'
     node: centos7-java-builder-2c-4g
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: 7
+      - opendaylight-infra-properties:
+          build-days-to-keep: 7
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
-        - timed: '0,30 * * * *'
+      # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
+      - timed: '0,30 * * * *'
 
     builders:
-        - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
+      - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
 
     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:
     name: 'builder-update-image-list'
     node: centos7-java-builder-2c-4g
 
     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:
-            branch: '{branch}'
+      - git-scm:
+          branch: '{branch}'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
-        # Listed after to override openstack-infra-wrappers clouds.yaml definition
-        - config-file-provider:
-            files:
-                - file-id: opendaylight-private-clouds-yaml
-                  target: '$HOME/.config/openstack/clouds.yaml'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
+      # Listed after to override openstack-infra-wrappers clouds.yaml definition
+      - config-file-provider:
+          files:
+            - file-id: opendaylight-private-clouds-yaml
+              target: '$HOME/.config/openstack/clouds.yaml'
 
     triggers:
-        # Update image list every Monday to Friday at 11:00 UTC
-        - timed: '0 11 * * 1-5'
+      # Update image list every Monday to Friday at 11:00 UTC
+      - timed: '0 11 * * 1-5'
 
     builders:
-        - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
-        - opendaylight-infra-push-gerrit-patch:
-            project: '{project}'
-            gerrit-topic: 'releng-update-cloud-image-list'
-            gerrit-commit-message: 'Update cloud image list docs'
+      - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
+      - opendaylight-infra-push-gerrit-patch:
+          project: '{project}'
+          gerrit-topic: 'releng-update-cloud-image-list'
+          gerrit-commit-message: 'Update cloud image list docs'
 
     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:
     name: 'builder-verify-packer'
     concurrent: true
 
     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: '$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: 'packer/**'
+      - gerrit-trigger-patch-submitted:
+          server: '{server-name}'
+          project: '{project}'
+          branch: '{branch}'
+          files: 'packer/**'
 
     builders:
-        - packer-validate:
+      - packer-validate:
 
     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: 'builder-merge-packer-{platforms}-{templates}'
     node: centos7-java-builder-2c-4g
 
     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: '$GERRIT_REFSPEC'
-            branches:
-                - '$GERRIT_BRANCH'
-            choosing-strategy: 'default'
+      - gerrit-trigger-scm:
+          refspec: '$GERRIT_REFSPEC'
+          branches:
+            - '$GERRIT_BRANCH'
+          choosing-strategy: 'default'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - timed: '00 10 1 * *'
-        - gerrit:
-            server-name: '{server-name}'
-            trigger-on:
-                - change-merged-event
-                - comment-added-contains-event:
-                    comment-contains-value: 'remerge'
-            projects:
-              - project-compare-type: 'ANT'
-                project-pattern: 'releng/builder'
-                branches:
-                    - branch-compare-type: 'ANT'
-                      branch-pattern: '**/{branch}'
-                file-paths:
-                    - compare-type: ANT
-                      pattern: 'packer/vars/{platforms}.json'
-                    - compare-type: ANT
-                      pattern: 'packer/templates/{templates}.json'
-                    - compare-type: ANT
-                      pattern: 'packer/provision/{templates}.sh'
-                    - compare-type: ANT
-                      pattern: 'packer/provision/system_reseal.sh'
-                    - compare-type: ANT
-                      pattern: 'packer/provision/rh-user_data.sh'
-                    - compare-type: ANT
-                      pattern: 'packer/provision/devstack-pre-pip.sh'
-                    - compare-type: ANT
-                      pattern: 'packer/provision/baseline.sh'
+      - timed: '00 10 1 * *'
+      - gerrit:
+          server-name: '{server-name}'
+          trigger-on:
+            - change-merged-event
+            - comment-added-contains-event:
+                comment-contains-value: 'remerge'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: 'releng/builder'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+              file-paths:
+                - compare-type: ANT
+                  pattern: 'packer/vars/{platforms}.json'
+                - compare-type: ANT
+                  pattern: 'packer/templates/{templates}.json'
+                - compare-type: ANT
+                  pattern: 'packer/provision/{templates}.sh'
+                - compare-type: ANT
+                  pattern: 'packer/provision/system_reseal.sh'
+                - compare-type: ANT
+                  pattern: 'packer/provision/rh-user_data.sh'
+                - compare-type: ANT
+                  pattern: 'packer/provision/devstack-pre-pip.sh'
+                - compare-type: ANT
+                  pattern: 'packer/provision/baseline.sh'
 
     builders:
-        - packer-validate:
-        - packer-build:
-            platform: '{platforms}'
-            template: '{templates}'
+      - packer-validate:
+      - packer-build:
+          platform: '{platforms}'
+          template: '{templates}'
 
     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: 'builder-update-csit-tests'
     project-type: freestyle
 
     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:
-        - reverse:
-               jobs: 'builder-merge'
+      - reverse:
+          jobs: 'builder-merge'
 
     builders:
-        - shell: |
-            git checkout -b auto-update-csit-jobs
-        - integration-list-jobs:
-            blacklist: '{csit-list-blacklist}'
-            search_string: "csit"
-            stream: "carbon"
-            jobs-filename: "csit_jobs_carbon.lst"
-        - integration-list-jobs:
-            blacklist: '{csit-list-blacklist}'
-            search_string: "csit"
-            stream: "boron"
-            jobs-filename: "csit_jobs_boron.lst"
-        - integration-list-jobs:
-            blacklist: '{csit-list-blacklist}'
-            search_string: "csit"
-            stream: "beryllium"
-            jobs-filename: "csit_jobs_beryllium.lst"
-        - integration-replace-block-text:
-            starting-regex: "'csit-list-carbon: >'"
-            ending-regex: "'csit-list-boron: >'"
-            file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
-            file-to-change: "'jjb/releng-defaults.yaml'"
-        - integration-replace-block-text:
-            starting-regex: "'csit-list-boron: >'"
-            ending-regex: "'csit-list-beryllium: >'"
-            file-with-changes-to-insert: "'csit_jobs_boron.lst'"
-            file-to-change: "'jjb/releng-defaults.yaml'"
-        - integration-replace-block-text:
-            starting-regex: "'csit-list-beryllium: >'"
-            ending-regex: "'# CSIT TESTS END SED MARKER'"
-            file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
-            file-to-change: "'jjb/releng-defaults.yaml'"
-        - shell: |
-            git status
-            git add jjb/releng-defaults.yaml
-        - opendaylight-infra-push-gerrit-patch:
-            project: "releng/builder"
-            gerrit-topic: "auto-update-csit-jobs"
-            gerrit-commit-message: "Auto Update CSIT Jobs to run"
+      - shell: |
+          git checkout -b auto-update-csit-jobs
+      - integration-list-jobs:
+          blacklist: '{csit-list-blacklist}'
+          search_string: "csit"
+          stream: "carbon"
+          jobs-filename: "csit_jobs_carbon.lst"
+      - integration-list-jobs:
+          blacklist: '{csit-list-blacklist}'
+          search_string: "csit"
+          stream: "boron"
+          jobs-filename: "csit_jobs_boron.lst"
+      - integration-list-jobs:
+          blacklist: '{csit-list-blacklist}'
+          search_string: "csit"
+          stream: "beryllium"
+          jobs-filename: "csit_jobs_beryllium.lst"
+      - integration-replace-block-text:
+          starting-regex: "'csit-list-carbon: >'"
+          ending-regex: "'csit-list-boron: >'"
+          file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
+          file-to-change: "'jjb/releng-defaults.yaml'"
+      - integration-replace-block-text:
+          starting-regex: "'csit-list-boron: >'"
+          ending-regex: "'csit-list-beryllium: >'"
+          file-with-changes-to-insert: "'csit_jobs_boron.lst'"
+          file-to-change: "'jjb/releng-defaults.yaml'"
+      - integration-replace-block-text:
+          starting-regex: "'csit-list-beryllium: >'"
+          ending-regex: "'# CSIT TESTS END SED MARKER'"
+          file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
+          file-to-change: "'jjb/releng-defaults.yaml'"
+      - shell: |
+          git status
+          git add jjb/releng-defaults.yaml
+      - opendaylight-infra-push-gerrit-patch:
+          project: "releng/builder"
+          gerrit-topic: "auto-update-csit-jobs"
+          gerrit-commit-message: "Auto Update CSIT Jobs to run"
 
     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'
index ca11a7c861b88873ca974ce55ed29b55050e3072..b987e77ddf68af9daceff78c65950d205357ca8f 100644 (file)
@@ -1,86 +1,86 @@
 # OLD Releng macros
-
+---
 - property:
     name: opendaylight-infra-properties
     properties:
-        - build-discarder:
-            days-to-keep: '{build-days-to-keep}'
+      - build-discarder:
+          days-to-keep: '{build-days-to-keep}'
 
 - parameter:
     name: opendaylight-infra-parameters
     parameters:
-        - string:
-            name: PROJECT
-            default: '{project}'
-            description: 'Parameter to identify an ODL Gerrit project'
-        - string:
-            name: ARCHIVE_ARTIFACTS
-            default: '{artifacts} **/target/surefire-reports/*-output.txt **/hs_err_*.log **/target/feature/feature.xml'
-            description: 'Space separated glob patterns for artifacts to archive into logs.opendaylight.org'
-        - string:
-            name: GERRIT_PROJECT
-            default: '{project}'
-            description: "GERRIT_PROJECT parameter if not given by trigger"
-        - string:
-            name: GERRIT_BRANCH
-            default: '{branch}'
-            description: "JJB configured GERRIT_BRANCH parameter"
-        - string:
-            name: GERRIT_REFSPEC
-            default: '{refspec}'
-            description: "GERRIT_REFSPEC parameter if not given by trigger"
-        - string:
-            name: STACK_NAME
-            default: '$JOB_NAME-$BUILD_NUMBER'
-            description: "Used by Heat to generate a unique stack & vm name"
+      - string:
+          name: PROJECT
+          default: '{project}'
+          description: 'Parameter to identify an ODL Gerrit project'
+      - string:
+          name: ARCHIVE_ARTIFACTS
+          default: '{artifacts} **/target/surefire-reports/*-output.txt **/hs_err_*.log **/target/feature/feature.xml'
+          description: 'Space separated glob patterns for artifacts to archive into logs.opendaylight.org'
+      - string:
+          name: GERRIT_PROJECT
+          default: '{project}'
+          description: "GERRIT_PROJECT parameter if not given by trigger"
+      - string:
+          name: GERRIT_BRANCH
+          default: '{branch}'
+          description: "JJB configured GERRIT_BRANCH parameter"
+      - string:
+          name: GERRIT_REFSPEC
+          default: '{refspec}'
+          description: "GERRIT_REFSPEC parameter if not given by trigger"
+      - string:
+          name: STACK_NAME
+          default: '$JOB_NAME-$BUILD_NUMBER'
+          description: "Used by Heat to generate a unique stack & vm name"
 
 - parameter:
     name: build-tag
     parameters:
-        - string:
-            name: BUILD_TAG
-            default: ''
-            description: 'Tag in Git to checkout'
+      - string:
+          name: BUILD_TAG
+          default: ''
+          description: 'Tag in Git to checkout'
 
 - parameter:
     name: controller-version-parameter
     parameters:
-        - string:
-            name: ODL_VERSION
-            default: '{odl_version}'
-            description: 'Controller version (for use with openstacks networking_odl project)'
+      - string:
+          name: ODL_VERSION
+          default: '{odl_version}'
+          description: 'Controller version (for use with openstacks networking_odl project)'
 
 - parameter:
     name: patches-to-build-parameter
     parameters:
-        - string:
-            name: PATCHES_TO_BUILD
-            default: ''
-            description: 'csv list of patches in project:changeset format to build distribution with'
+      - string:
+          name: PATCHES_TO_BUILD
+          default: ''
+          description: 'csv list of patches in project:changeset format to build distribution with'
 
 - parameter:
     name: distribution-branch-to-build-parameter
     parameters:
-        - string:
-            name: DISTRIBUTION_BRANCH_TO_BUILD
-            default: 'master'
-            description: 'distribution repo branch to build with'
+      - string:
+          name: DISTRIBUTION_BRANCH_TO_BUILD
+          default: 'master'
+          description: 'distribution repo branch to build with'
 
 - parameter:
     name: p2zip-parameter
     parameters:
-        - string:
-            name: P2ZIP_URL
-            default: ''
-            description: 'Nexus staging profile id'
+      - string:
+          name: P2ZIP_URL
+          default: ''
+          description: 'Nexus staging profile id'
 
 - parameter:
     name: stage-id-parameter
     parameters:
-        - string:
-            name: STAGING_PROFILE_ID
-            default: '{stage-id}'
-            description: 'Nexus staging profile id'
+      - string:
+          name: STAGING_PROFILE_ID
+          default: '{stage-id}'
+          description: 'Nexus staging profile id'
 
 - parameter:
     name: maven-exec
 - scm:
     name: git-scm
     scm:
-        - git:
-            credentials-id: 'opendaylight-jenkins-ssh'
-            url: '$GIT_BASE'
-            refspec: ''
-            branches:
-                - 'origin/{branch}'
-            skip-tag: true
-            wipe-workspace: true
+      - git:
+          credentials-id: 'opendaylight-jenkins-ssh'
+          url: '$GIT_BASE'
+          refspec: ''
+          branches:
+            - 'origin/{branch}'
+          skip-tag: true
+          wipe-workspace: true
 
 - scm:
     name: git-scm-with-submodules
     scm:
-        - git:
-            credentials-id: 'opendaylight-jenkins-ssh'
-            url: '$GIT_BASE'
-            refspec: ''
-            branches:
-                - 'refs/heads/{branch}'
-            skip-tag: true
-            wipe-workspace: true
-            submodule:
-                recursive: true
+      - git:
+          credentials-id: 'opendaylight-jenkins-ssh'
+          url: '$GIT_BASE'
+          refspec: ''
+          branches:
+            - 'refs/heads/{branch}'
+          skip-tag: true
+          wipe-workspace: true
+          submodule:
+            recursive: true
 
 - scm:
     name: gerrit-trigger-scm
     scm:
-        - git:
-            credentials-id: 'opendaylight-jenkins-ssh'
-            url: '$GIT_BASE'
-            refspec: '{refspec}'
-            branches:
-                - 'origin/$GERRIT_BRANCH'
-            skip-tag: true
-            choosing-strategy: '{choosing-strategy}'
+      - git:
+          credentials-id: 'opendaylight-jenkins-ssh'
+          url: '$GIT_BASE'
+          refspec: '{refspec}'
+          branches:
+            - 'origin/$GERRIT_BRANCH'
+          skip-tag: true
+          choosing-strategy: '{choosing-strategy}'
 
 - wrapper:
     name: build-timeout
     wrappers:
-        - timeout:
-            type: absolute
-            timeout: 360
-            fail: true
+      - timeout:
+          type: absolute
+          timeout: 360
+          fail: true
 
 # This is a single macro to use for all jobs who vote on every (relevant) patch set.
 # Only 'recheck' trigger word is supported, it always triggers the full set of relevant jobs,
 - trigger:
     name: gerrit-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'
-            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'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: '{project}'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+              file-paths:
+                - compare-type: 'ANT'
+                  pattern: '{files}'
 
 # TODO: Unify argument names across gerrit-trigger-* macros.
 - trigger:
     name: gerrit-trigger-patch-merged
     triggers:
-        - gerrit:
-            server-name: '{server-name}'
-            trigger-on:
-                - change-merged-event
-                - comment-added-contains-event:
-                    comment-contains-value: 'remerge'
-            projects:
-                - project-compare-type: 'ANT'
-                  project-pattern: '{name}'
-                  branches:
-                      - branch-compare-type: 'ANT'
-                        branch-pattern: '**/{branch}'
-            skip-vote:
-                successful: true
-                failed: true
-                unstable: true
-                notbuilt: true
-            # Force Jenkins always vote the values it should already have voted
-            # during the prior verify phase
-            override-votes: true
-            gerrit-build-started-verified-value: 1
-            gerrit-build-successful-verified-value: 1
-            gerrit-build-failed-verified-value: 1
-            gerrit-build-unstable-verified-value: 1
-            gerrit-build-notbuilt-verified-value: 1
-            gerrit-build-started-codereview-value: 0
-            gerrit-build-successful-codereview-value: 0
-            gerrit-build-failed-codereview-value: 0
-            gerrit-build-unstable-codereview-value: 0
-            gerrit-build-notbuilt-codereview-value: 0
+      - gerrit:
+          server-name: '{server-name}'
+          trigger-on:
+            - change-merged-event
+            - comment-added-contains-event:
+                comment-contains-value: 'remerge'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: '{name}'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+          skip-vote:
+            successful: true
+            failed: true
+            unstable: true
+            notbuilt: true
+          # Force Jenkins always vote the values it should already have voted
+          # during the prior verify phase
+          override-votes: true
+          gerrit-build-started-verified-value: 1
+          gerrit-build-successful-verified-value: 1
+          gerrit-build-failed-verified-value: 1
+          gerrit-build-unstable-verified-value: 1
+          gerrit-build-notbuilt-verified-value: 1
+          gerrit-build-started-codereview-value: 0
+          gerrit-build-successful-codereview-value: 0
+          gerrit-build-failed-codereview-value: 0
+          gerrit-build-unstable-codereview-value: 0
+          gerrit-build-notbuilt-codereview-value: 0
 
 # TODO: Unify argument names across gerrit-trigger-* macros.
 - trigger:
     name: gerrit-trigger-patch-sonar
     triggers:
-        - gerrit:
-            server-name: '{server-name}'
-            trigger-on:
-                - comment-added-contains-event:
-                    comment-contains-value: 'run-sonar'
-            projects:
-              - project-compare-type: 'ANT'
-                project-pattern: '{name}'
-                branches:
-                  - branch-compare-type: 'ANT'
-                    branch-pattern: '**/master'
-            skip-vote:
-                successful: true
-                failed: true
-                unstable: true
-                notbuilt: true
+      - gerrit:
+          server-name: '{server-name}'
+          trigger-on:
+            - comment-added-contains-event:
+                comment-contains-value: 'run-sonar'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: '{name}'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/master'
+          skip-vote:
+            successful: true
+            failed: true
+            unstable: true
+            notbuilt: true
 
 - publisher:
     name: archive-artifacts
     publishers:
-        - archive:
-            artifacts: '{artifacts}'
-            allow-empty: true
-            fingerprint: true
-            latest-only: true
+      - archive:
+          artifacts: '{artifacts}'
+          allow-empty: true
+          fingerprint: true
+          latest-only: true
 
 - publisher:
     name: email-notification
     publishers:
-        - email-ext:
-            recipients: '{email-recipients}'
-            reply-to: ''
-            content-type: default
-            subject: '{email-prefix} $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!'
-            body: |
-                $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:
-
-                Please refer to the logs server URL for console logs when possible
-                and use the Jenkins Build URL as a last resort.
-
-                Console Logs URL:
-                https://logs.opendaylight.org/$SILO/$JENKINS_HOSTNAME/$JOB_NAME/$BUILD_NUMBER
-
-                Jenkins Build URL:
-                $BUILD_URL
-            unstable: true
-            fixed: true
-            send-to:
-                - recipients
+      - email-ext:
+          recipients: '{email-recipients}'
+          reply-to: ''
+          content-type: default
+          subject: '{email-prefix} $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!'
+          body: |
+              $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:
+
+              Please refer to the logs server URL for console logs when possible
+              and use the Jenkins Build URL as a last resort.
+
+              Console Logs URL:
+              https://logs.opendaylight.org/$SILO/$JENKINS_HOSTNAME/$JOB_NAME/$BUILD_NUMBER
+
+              Jenkins Build URL:
+              $BUILD_URL
+          unstable: true
+          fixed: true
+          send-to:
+            - recipients
 
 - publisher:
-        name: jacoco-report
-        publishers:
-            - jacoco:
-                exec-pattern: "**/**.exec"
-                class-pattern: "**/classes"
-                source-pattern: "**/src/main/java"
-                exclusion-pattern: "**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**"
-                status-update: true
-                targets:
-                  - branch:
-                      healthy: 10
-                      unhealthy: 20
-                  - method:
-                      healthy: 50
-                      unhealthy: 40
+    name: jacoco-report
+    publishers:
+      - jacoco:
+          exec-pattern: "**/**.exec"
+          class-pattern: "**/classes"
+          source-pattern: "**/src/main/java"
+          exclusion-pattern: "**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**"
+          status-update: true
+          targets:
+            - branch:
+                healthy: 10
+                unhealthy: 20
+            - method:
+                healthy: 50
+                unhealthy: 40
 
 - publisher:
     name: opendaylight-infra-shiplogs
     #
     # Also ensure that the workspace is cleaned up at the end of the build.
     publishers:
-        - postbuildscript:
-            builders:
-                - shell: !include-raw: include-raw-stack-delete.sh
-                - shell: !include-raw: include-raw-deploy-archives.sh
-                - maven-target:
-                        maven-version: '{maven-version}'
-                        pom: '.archives/deploy-archives.xml'
-                        goals: 'clean deploy -V -B -q -Dmaven.repo.local=/tmp/r'
-                        settings: 'jenkins-log-archives-settings'
-                        settings-type: cfp
-                        global-settings: 'odl-global-settings'
-                        global-settings-type: cfp
-                - description-setter:
-                    regexp: '^Build logs: .*'
-                # Cleanup after ourselves
-                - wipe-org-opendaylight-repo
-            script-only-if-succeeded: False
-            script-only-if-failed: False
-            mark-unstable-if-failed: True
-        - workspace-cleanup:
-            exclude:
-              # Do not clean up *.jenkins-trigger files for jobs that use a
-              # properties file as input for triggering another build.
-              - '**/*.jenkins-trigger'
-            fail-build: false
+      - postbuildscript:
+          builders:
+            - shell: !include-raw: include-raw-stack-delete.sh
+            - shell: !include-raw: include-raw-deploy-archives.sh
+            - maven-target:
+                maven-version: '{maven-version}'
+                pom: '.archives/deploy-archives.xml'
+                goals: 'clean deploy -V -B -q -Dmaven.repo.local=/tmp/r'
+                settings: 'jenkins-log-archives-settings'
+                settings-type: cfp
+                global-settings: 'odl-global-settings'
+                global-settings-type: cfp
+            - description-setter:
+                regexp: '^Build logs: .*'
+            # Cleanup after ourselves
+            - wipe-org-opendaylight-repo
+          script-only-if-succeeded: False
+          script-only-if-failed: False
+          mark-unstable-if-failed: True
+      - workspace-cleanup:
+          exclude:
+            # Do not clean up *.jenkins-trigger files for jobs that use a
+            # properties file as input for triggering another build.
+            - '**/*.jenkins-trigger'
+          fail-build: false
 
 - builder:
     name: opendaylight-infra-stack
     # opendaylight-infra-stack.sh has a required variable {stack-template} that
     # must be passed into this macro.
     builders:
-        - shell: !include-raw: opendaylight-infra-stack.sh
-        - shell: !include-raw-escape: opendaylight-infra-copy-ssh-keys.sh
+      - shell: !include-raw: opendaylight-infra-stack.sh
+      - shell: !include-raw-escape: opendaylight-infra-copy-ssh-keys.sh
 
 - builder:
     name: opendaylight-infra-push-gerrit-patch
     #     {gerrit-commit-message} Commit message to assign to commit.
     # NOTE: Requires git review to be installed on node.
     builders:
-        - shell: !include-raw: opendaylight-infra-push-gerrit-patch.sh
+      - shell: !include-raw: opendaylight-infra-push-gerrit-patch.sh
 
 - builder:
     name: distribute-build-url
     # Place URL of the current run of a build job to a file at given path.
     builders:
-        - shell: 'echo "$BUILD_URL" > {path}/build.url'
+      - shell: 'echo "$BUILD_URL" > {path}/build.url'
 
 - builder:
     name: wipe-org-opendaylight-repo
     builders:
-        - shell: 'if [ -d /tmp/r/org/opendaylight ]; then rm -rf /tmp/r/org/opendaylight; fi'
+      - shell: 'if [ -d /tmp/r/org/opendaylight ]; then rm -rf /tmp/r/org/opendaylight; fi'
 
 - builder:
     name: wipe-local-maven-repo
     builders:
-        - shell: 'if [ -d /tmp/r ]; then rm -rf /tmp/r; fi'
+      - shell: 'if [ -d /tmp/r ]; then rm -rf /tmp/r; fi'
 
 - builder:
     name: jacoco-nojava-workaround
     builders:
-        - shell: 'mkdir -p $WORKSPACE/target/classes $WORKSPACE/jacoco/classes'
+      - shell: 'mkdir -p $WORKSPACE/target/classes $WORKSPACE/jacoco/classes'
 
 - builder:
     name: check-clm
     builders:
-        - sonatype-clm:
-            application-name: '{application-name}'
+      - sonatype-clm:
+          application-name: '{application-name}'
 
 - builder:
     name: releng-check-unicode
     builders:
-        - shell: |
-            $WORKSPACE/scripts/check-unicode.sh jjb/
+      - shell: |
+          $WORKSPACE/scripts/check-unicode.sh jjb/
 
 - builder:
     name: provide-maven-settings
     builders:
-    - config-file-provider:
-        files:
-        - file-id: '{global-settings-file}'
-          variable: 'GLOBAL_SETTINGS_FILE'
-        - file-id: '{settings-file}'
-          variable: 'SETTINGS_FILE'
+      - config-file-provider:
+          files:
+            - file-id: '{global-settings-file}'
+              variable: 'GLOBAL_SETTINGS_FILE'
+            - file-id: '{settings-file}'
+              variable: 'SETTINGS_FILE'
 
 - builder:
     name: releng-fetch-p2zip-if-necessary
     builders:
-    - shell: |
-        # Cleanup any existing zips and metadata before we download the new update site
-        rm -f *.zip *.xml
-    - conditional-step:
-        condition-kind: strings-match
-        condition-string1: '$P2ZIP_URL'
-        condition-string2: ''
-        condition-basedir: workspace
-        steps:
+      - shell: |
+          # Cleanup any existing zips and metadata before we download the new update site
+          rm -f *.zip *.xml
+      - conditional-step:
+          condition-kind: strings-match
+          condition-string1: '$P2ZIP_URL'
+          condition-string2: ''
+          condition-basedir: workspace
+          steps:
             # TODO: Figure out latest snapshot version number to pull rather than hardcoding 1.1.1-SNAPSHOT
             - maven-target:
                 maven-version: '{maven-version}'
-                goals: 'org.apache.maven.plugins:maven-dependency-plugin:get org.apache.maven.plugins:maven-dependency-plugin:copy -V -B -Dartifact=org.opendaylight.yangide:org.opendaylight.yangide.update-site:1.1.1-SNAPSHOT:zip -DoutputDirectory=$WORKSPACE'
+                goals: >
+                    org.apache.maven.plugins:maven-dependency-plugin:get
+                    org.apache.maven.plugins:maven-dependency-plugin:copy
+                    -V -B
+                    -Dartifact=org.opendaylight.yangide:org.opendaylight.yangide.update-site:1.1.1-SNAPSHOT:zip
+                    -DoutputDirectory=$WORKSPACE
                 settings: '{settings}'
                 global-settings: '{global-settings}'
 
 - builder:
     name: releng-generate-p2pom
     builders:
-        - shell: !include-raw: include-raw-generate-p2pom.sh
+      - shell: !include-raw: include-raw-generate-p2pom.sh
 
 - builder:
     name: releng-update-p2composite-metadata
     builders:
-    - shell: !include-raw: include-raw-update-p2composite-metadata.sh
-    - conditional-step:
-        condition-kind: file-exists
-        condition-filename: deploy-composite-repo.xml
-        condition-basedir: workspace
-        steps:
+      - shell: !include-raw: include-raw-update-p2composite-metadata.sh
+      - conditional-step:
+          condition-kind: file-exists
+          condition-filename: deploy-composite-repo.xml
+          condition-basedir: workspace
+          steps:
             - maven-target:
                 maven-version: '{maven-version}'
                 pom: 'deploy-composite-repo.xml'
 - builder:
     name: releng-stage-release
     builders:
-        - shell: !include-raw: include-raw-stage-release.sh
+      - shell: !include-raw: include-raw-stage-release.sh
 
 - wrapper:
     # This wrapper is required for all jobs as it configures the wrappers
     # needed by OpenDaylight infra.
     name: opendaylight-infra-wrappers
     wrappers:
-        - mask-passwords
-        - config-file-provider:
-            files:
-                - file-id: rackspace-heat
-                  target: '$HOME/.config/openstack/clouds.yaml'
-        - timeout:
-            type: absolute
-            timeout: '{build-timeout}'
-            timeout-var: 'BUILD_TIMEOUT'
-            fail: true
-        - timestamps
-        - ssh-agent-credentials:
-            users:
-                - 'opendaylight-jenkins-ssh'
-        - openstack:
-            single-use: True
+      - mask-passwords
+      - config-file-provider:
+          files:
+            - file-id: rackspace-heat
+              target: '$HOME/.config/openstack/clouds.yaml'
+      - timeout:
+          type: absolute
+          timeout: '{build-timeout}'
+          timeout-var: 'BUILD_TIMEOUT'
+          fail: true
+      - timestamps
+      - ssh-agent-credentials:
+          users:
+            - 'opendaylight-jenkins-ssh'
+      - openstack:
+          single-use: True
 
 - builder:
     name: packer-validate
     builders:
-        - config-file-provider:
-            files:
-                - file-id: 'packer-cloud-env'
-                  variable: 'CLOUDENV'
-        - shell: |
-            cd packer
-            varfiles="../packer/vars/*"
-            templates="../packer/templates/*"
-            provision="../packer/provision/*.sh"
-            for v in $varfiles; do
-                [[ "${v##*/}" =~ ^(cloud-env.*)$ ]] && continue
-                for t in $templates; do
-                    export PACKER_LOG="yes" && \
-                    export PACKER_LOG_PATH="packer-validate-${v##*/}-${t##*/}.log" && \
-                                packer.io validate -var-file=$CLOUDENV \
-                                -var-file=$v $t
-                    if [ $? -ne 0 ]; then
-                        break
-                    fi
-                done
-            done
-            for p in $provision; do
-                /bin/bash -n $p > provision-validate-${p##*/}.log 2>&1
-            done
+      - config-file-provider:
+          files:
+            - file-id: 'packer-cloud-env'
+              variable: 'CLOUDENV'
+      - shell: |
+          cd packer
+          varfiles="../packer/vars/*"
+          templates="../packer/templates/*"
+          provision="../packer/provision/*.sh"
+          for v in $varfiles; do
+              [[ "${v##*/}" =~ ^(cloud-env.*)$ ]] && continue
+              for t in $templates; do
+                  export PACKER_LOG="yes" && \
+                  export PACKER_LOG_PATH="packer-validate-${v##*/}-${t##*/}.log" && \
+                              packer.io validate -var-file=$CLOUDENV \
+                              -var-file=$v $t
+                  if [ $? -ne 0 ]; then
+                      break
+                  fi
+              done
+          done
+          for p in $provision; do
+              /bin/bash -n $p > provision-validate-${p##*/}.log 2>&1
+          done
 
 
 - builder:
     name: packer-build
     builders:
-        - config-file-provider:
-            files:
-                - file-id: 'packer-cloud-env'
-                  variable: 'CLOUDENV'
-        - shell: |
-            cd packer
-            export PACKER_LOG="yes" && \
-            export PACKER_LOG_PATH="packer-build.log" && \
-                        packer.io build -var-file=$CLOUDENV \
-                         -var-file=../packer/vars/{platform}.json \
-                         ../packer/templates/{template}.json
+      - config-file-provider:
+          files:
+            - file-id: 'packer-cloud-env'
+              variable: 'CLOUDENV'
+      - shell: |
+          cd packer
+          export PACKER_LOG="yes" && \
+          export PACKER_LOG_PATH="packer-build.log" && \
+                      packer.io build -var-file=$CLOUDENV \
+                       -var-file=../packer/vars/{platform}.json \
+                       ../packer/templates/{template}.json
 
 - builder:
     # TODO: Verify signature after downloading users public key from a locally created
     # developers public keys into a local repository without increasing the job thoughput.
     name: verify-gpg-signature
     builders:
-        - shell: !include-raw: include-raw-verify-gpg-signatures.sh
+      - shell: !include-raw: include-raw-verify-gpg-signatures.sh
 
 - builder:
     name: opendaylight-infra-jjbini
     builders:
-    - config-file-provider:
+      - config-file-provider:
           files:
             - file-id: 'jjbini'
               target: '$HOME/.config/jenkins_jobs/jenkins_jobs.ini'
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}'
diff --git a/tox.ini b/tox.ini
index ff20b9401df95213e47935d27f01e714e6adab25..f00fdcc21e6ac08ee6978cb52ecbffddd79f750e 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,8 +1,13 @@
 [tox]
 minversion = 1.6
-envlist = docs
+envlist = docs,pep8
 skipsdist = true
 
 [testenv:docs]
 deps = sphinx
 commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+
+[testenv:pep8]
+deps = flake8
+commands = flake8 scripts/
+