Merge "Revert "Enable shallow clone for git repos""
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 6 May 2016 14:51:50 +0000 (14:51 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 6 May 2016 14:51:50 +0000 (14:51 +0000)
1  2 
jjb-templates/validate-autorelease.yaml
jjb/integration/integration-macros.yaml
jjb/releng-macros.yaml

index de17a9a0cabb95ee6364d886f53284ea7a0c12a1,281122ba068c007051c0dbab357e7a6c1ee58cb2..e2c5329a64ff874b512c00f69f92fcb371a136ba
              release-branch: '{branch}'
          - autorelease-release-datestamp:
              datestamp: true
 +        - string:
 +            name: CLONE_URL
 +            default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease'
 +            description: "Autorelease clone URL"
  
      scm:
          - git:
 -            url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
 +            url: '$CLONE_URL'
              refspec: ''
              branches:
                  - 'origin/{branch}'
              skip-tag: true
-             shallow-clone: true
              submodule:
                  recursive: true
 +                timeout: 15
  
      wrappers:
          - autorelease-build-timeout
index d2b3a2764808bb3be13fd2e3fc0adad7982aa87e,c180baec8404b57993a1ffa2835ac3d6886bee8a..d43905b74e962704c9f7f7e91ceb640f55decef6
              branches:
                  - 'origin/{branch}'
              skip-tag: true
-             shallow-clone: true
              choosing-strategy: 'gerrit'
  
  # Macro: integration-distribution-scm
              branches:
                  - 'origin/{branch}'
              skip-tag: true
-             shallow-clone: true
  
  # Macro: integration-trigger-patch-submitted
  # Operation: this macro sets a trigger for patch submitted on a path pattern
                  count: '{mininet-vms}'
                  stop-on-terminate: False
  
 +# Macro: integration-jclouds-controller-devstack
 +# Operation: this macro will spin the controller and devstack vms
 +# Used by: {project}-csit-openstack job templates
 +- wrapper:
 +    name: integration-jclouds-controller-devstack
 +    wrappers:
 +      - jclouds:
 +          instances:
 +            - rk-c7-java:
 +                cloud-name: 'Rackspace DFW - Integration Dynamic Lab'
 +                count: '{controller-vms}'
 +                stop-on-terminate: False
 +            - rk-c7-devstack:
 +                cloud-name: 'Rackspace DFW - Devstack'
 +                count: '{openstack-vms}'
 +                stop-on-terminate: False
 +
  #################
  # Shell Scripts #
  #################
              !include-raw:
                  - include-raw-integration-deploy-devstack-testing.sh
  
 -# Macro: integration-deploy-controller
 -# Operation: this macro prepares 3-node cluster controller
 -# Used by: {project}-csit-3node-* job templates
 -
 -- builder:
 -    name: integration-deploy-controller
 -    builders:
 -        - shell:
 -            !include-raw:
 -                - include-raw-integration-deploy-controller.sh
 -
  # Macro: integration-configure-clustering
  # Operation: this macro configures the clustering
  # Used by: {project}-csit-3node-* job templates
              !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
  ##############
  # Publishers #
  ##############
diff --combined jjb/releng-macros.yaml
index 4238aa26fb147cad41653b95a489de7e6d2f3cbc,d56eb57c51dfb14ed27507453be92e8e261a7571..2c558d698c228a33969a0362e362a73396a324c6
              default: '{refspec}'
              description: "GERRIT_REFSPEC parameter if not given by trigger"
  
 +- parameter:
 +    name: build-tag
 +    parameters:
 +        - string:
 +            name: BUILD_TAG
 +            default: ''
 +            description: 'Tag in Git to checkout'
 +
  - parameter:
      name: controller-version-parameter
      parameters:
              default: 'master'
              description: 'distribution repo branch to build with'
  
 +- parameter:
 +    name: p2zip-parameter
 +    parameters:
 +        - 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'
 +
  - scm:
      name: git-scm
      scm:
@@@ -90,7 -66,6 +90,6 @@@
              branches:
                  - 'origin/{branch}'
              skip-tag: true
-             shallow-clone: true
              wipe-workspace: true
  
  - scm:
              branches:
                  - 'origin/$GERRIT_BRANCH'
              skip-tag: true
-             shallow-clone: true
              choosing-strategy: '{choosing-strategy}'
  
  - wrapper:
            variable: 'GLOBAL_SETTINGS_FILE'
          - file-id: '{settings-file}'
            variable: 'SETTINGS_FILE'
 +
 +- builder:
 +    name: releng-generate-p2pom
 +    builders:
 +        - shell: !include-raw: include-raw-generate-p2pom.sh
 +
 +- builder:
 +    name: releng-update-p2composite-metadata
 +    builders:
 +    - shell: !include-raw: include-raw-update-p2composite-metadata.sh
 +    - maven-target:
 +        maven-version: '{maven-version}'
 +        pom: 'deploy-composite-repo.xml'
 +        goals: 'clean deploy -V -Dmaven.repo.local=/tmp/r'
 +        settings: '{settings}'
 +        global-settings: '{global-settings}'
 +
 +- builder:
 +    name: releng-stage-release
 +    builders:
 +        - shell: !include-raw: include-raw-stage-release.sh