cloud-infra: Enable submodules 83/3383/1
authorFatih Degirmenci <fdegir@gmail.com>
Mon, 13 Jan 2020 14:55:35 +0000 (15:55 +0100)
committerFatih Degirmenci <fdegir@gmail.com>
Mon, 13 Jan 2020 14:55:35 +0000 (15:55 +0100)
Change-Id: I84feaa8462eabe532a9db796ced7e5eeff7a1a84

jjb/cloud-infra/cloud-infra-docs.yaml

index 66bedcd8fa7e5a6c7ef07c56dfc716ae2564f45b..a67344828614df7967ca9f4e8164433dcab92167 100644 (file)
       - fix-workspace-permissions
 
     scm:
-      - git-scm-gerrit:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{branch}'
+      - git:
+          url: '$GIT_BASE_SSH/$PROJECT'
+          credentials-id: nordixinfra-nordix-gerrit-ssh
+          branches:
+            - 'refs/heads/{branch}'
           refspec: $GERRIT_REFSPEC
-          wipe_workspace: true
-          clean_before: false
+          timeout: 15
+          per-build-tag: false
+          skip-tag: true
+          shallow-clone: false
+          use-author: false
+          ignore-notify: false
+          wipe-workspace: true
+          prune: false
+          clean:
+            after: false
+            before: false
+          choosing-strategy: 'gerrit'
           submodule:
             recursive: true
             tracking: true
       - fix-workspace-permissions
 
     scm:
-      - git-scm:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{branch}'
+      - git:
+          url: '$GIT_BASE_SSH/$PROJECT'
+          credentials-id: nordixinfra-nordix-gerrit-ssh
+          branches:
+            - 'refs/heads/{branch}'
           refspec: ''
-          wipe_workspace: true
-          clean_before: false
+          timeout: 15
+          per-build-tag: false
+          skip-tag: true
+          shallow-clone: false
+          use-author: false
+          ignore-notify: false
+          wipe-workspace: 'true'
+          prune: false
+          clean:
+            after: false
+            before: false
+          choosing-strategy: 'default'
           submodule:
             recursive: true
             tracking: true